@ckir/corelib - v0.1.13
    Preparing search index...

    Interface AsyncLocalStorageLike<T>

    High-performance polyfill/loader for AsyncLocalStorage across runtimes. Node/Bun use node:async_hooks, while Deno uses std/node compatibility.

    interface AsyncLocalStorageLike<T> {
        getStore(): T | undefined;
        run<R>(store: T, callback: () => R): R;
    }

    Type Parameters

    • T
    Index

    Methods

    Methods