menu
AsyncOnce
import { AsyncOnce } from "destack:async";
One-time async execution state.
1export class AsyncOnce {2 call(body: () => Promise<void>): Promise<void>;3 isCompleted(): boolean;4}Members
isCompleted(): booleanReturn true after the body has completed.