interface AsyncLocalStorageInterface {
    getStore: (() => any);
    run: (<T>(store, callback) => T);
}

Implemented by

Properties

Properties

getStore: (() => any)

Type declaration

    • (): any
    • Returns any

run: (<T>(store, callback) => T)

Type declaration

    • <T>(store, callback): T
    • Type Parameters

      • T

      Parameters

      • store: any
      • callback: (() => T)
          • (): T
          • Returns T

      Returns T

Generated using TypeDoc