Documentation / @blazetrails/activesupport / LoadInterlockAwareMonitorMixin
Variable: LoadInterlockAwareMonitorMixin
constLoadInterlockAwareMonitorMixin: {monEnter:unknown;synchronize:Promise<T>; }
Defined in: packages/activesupport/lib/concurrency/load-interlock-aware-monitor.ts:18
Type Declaration
monEnter()
monEnter(
this):unknown
Parameters
| Parameter | Type |
|---|---|
this | LoadInterlockAwareMonitorHost |
Returns
unknown
synchronize()
synchronize<
T>(this,block):Promise<T>
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
this | LoadInterlockAwareMonitorHost |
block | () => T | Promise<T> |
Returns
Promise<T>