Optional
Readonly
bufferShared array buffer for permit synchronization.
Optional
Readonly
indexThe buffer index to use for permit synchronization. Defaults to 0.
Optional
Readonly
permitsMax number of permits. Defaults to 1.
Optional
Readonly
waitThe interval in milliseconds to wait for a permit. Defaults to 200.
Generated using TypeDoc
Options for creating a SharedCountingSemaphore.