UNPKG

gun

Version:

A realtime, decentralized, offline-first, graph data synchronization engine.

12 lines (10 loc) 270 B
export type GunMessagePut = | { /** if there was an error during save */ err: string; } | { /** if there was a success message (none is required though) */ ok: { '': 1 }; }; export type GunCallbackPut = (ack: GunMessagePut) => void;