@itwin/object-storage-core
Version:
Core generic object storage interfaces
9 lines • 497 B
TypeScript
export type AbortSignalListener = (this: GenericAbortSignal, ev: any) => any;
export interface GenericAbortSignal {
aborted: boolean;
onabort: ((this: any, ev: any) => any) | null;
addEventListener: (type: "abort", listener: AbortSignalListener) => void;
removeEventListener: (type: "abort", listener: AbortSignalListener) => void;
}
export declare function createClientAbortSignal(userAbortSignal: GenericAbortSignal): GenericAbortSignal;
//# sourceMappingURL=AbortSignal.d.ts.map