Documentation / @blazetrails/activesupport / NullLock
Variable: NullLock
constNullLock: {synchronize:Promise<T>; }
Defined in: packages/activesupport/lib/concurrency/null-lock.ts:1
Type Declaration
synchronize()
synchronize<
T>(block):Promise<T>
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
block | () => T | Promise<T> |
Returns
Promise<T>