Appearance
Home > resol-vbus-core > utils > StartGate
utils.StartGate class
A start-gate / one-shot barrier synchronization primitive.
Signature:
typescript
export declare class StartGateConstructors
Constructor | Modifiers | Description |
|---|---|---|
Create a new instance. |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | Indicates whether the state is alread decided. | ||
Promise<void> | The promise used to wait for the decision. | ||
(err: unknown) => void | The | ||
() => void | The |
Methods
Method | Modifiers | Description |
|---|---|---|
Abort the race with the provided reason. | ||
Open the start-gate. | ||
Wait for the start-gate to open. |