@ceramicnetwork/core
Version:
Typescript implementation of the Ceramic protocol
10 lines • 335 B
TypeScript
import { Observer } from 'rxjs';
export declare class ShutdownSignal {
private subject;
private shuttingDown;
get observers(): Array<Observer<void>>;
abort(): void;
isShuttingDown(): boolean;
abortable<T>(fn: (abortSignal: AbortSignal) => Promise<T>): Promise<T>;
}
//# sourceMappingURL=shutdown-signal.d.ts.map