Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RemoteSemaphore

Remote Semaphore.

author

Jeongho Nam - https://github.com/samchon

Hierarchy

  • RemoteSemaphore

Index

Methods

acquire

  • acquire(): Promise<void>

max

  • max(): number

release

  • release(count?: number): Promise<void>

try_acquire

  • try_acquire(): Promise<boolean>

try_acquire_for

  • try_acquire_for(ms: number): Promise<boolean>

try_acquire_until

  • try_acquire_until(at: Date): Promise<boolean>

Generated using TypeDoc