UNPKG

@juspay/neurolink

Version:

The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002

9 lines (8 loc) • 601 B
export declare function writeJsonSnapshotAtomically(targetPath: string, data: unknown, mode?: number): Promise<void>; /** Settles every queued snapshot write. Shutdown awaits this so a write a * request left running in the background still lands before exit. It drains * until the queue stays empty, because a producer that outlived the listener * close can queue another write while earlier ones settle; the caller bounds * the whole drain with its own timeout. */ export declare function flushSnapshotWrites(): Promise<void>; export declare function clearSnapshotWriteLocksForTests(): void;