A counting semaphore that uses a shared array buffer for synchronization.

Implements

Constructors

Properties

buffer: Int32Array

Shared array buffer for permit synchronization.

index: number

The buffer index to use for permit synchronization. Defaults to 0.

permits: number

Max number of permits. Defaults to 1.

waitInterval: number

The interval in milliseconds to wait for a permit. Defaults to 200.

Accessors

Methods

Generated using TypeDoc