Skip to content

Documentation


Documentation / @blazetrails/activesupport / NullLock

Variable: NullLock ​

const NullLock: { 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 ​

ParameterType
block() => T | Promise<T>

Returns ​

Promise<T>