Hierarchy

  • LockContext

Constructors

Methods

Constructors

Methods

  • Runs the given async function / promise with a new lock ID.

    Parameters

    • f: (() => Promise<void>)

      Promise the async function to run with the lock ID.

        • (): Promise<void>
        • Returns Promise<void>

    Returns Promise<void>

Generated using TypeDoc