Type alias ICallbackExecutor<TResult>

ICallbackExecutor<TResult>: ((lockDone: ICallback<TResult>) => void)

Type Parameters

Type declaration

    • Function that user will supply as the thing that will be running inside lock. It can either accept a done() function, or return a promise.

      Parameters

      Returns void

Generated using TypeDoc