This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/lifecycle-utils/dist/AsyncDisposableHandle.d.ts
T

13 lines
480 B
TypeScript

/**
* An object that provides an async `.dispose()` method that can called only once.
*
* Calling `.dispose()` will call the provided `onDispose` function only once.
* Any subsequent calls to `.dispose()` will do nothing.
*/
export declare class AsyncDisposableHandle {
constructor(onDispose: () => Promise<void>);
get disposed(): boolean;
[Symbol.asyncDispose](): Promise<void>;
dispose(): Promise<void>;
}
//# sourceMappingURL=AsyncDisposableHandle.d.ts.map