@bodil/core
    Preparing search index...

    Namespace async

    Async utilities.

    AbortablePromise

    A promise that can be aborted using an AbortSignal.

    Emitter

    A multi consumer event broadcaster, like an EventTarget but async and without named events.

    AbortableExecutor

    Executor function for an AbortablePromise.

    SchedulerAPI
    SchedulerAPI
    defer

    Call the provided function at the soonest opportunity after the current task yields.

    isAbortError

    Test whether a value is an AbortError.

    sleep

    Return a promise that will resolve after the specified number of milliseconds or Temporal.Duration.