Link

Table of contents


Mutex (interface)

Signature

export interface Mutex {
  readonly acquire: Wave<never, void>
  readonly release: Wave<never, void>
  readonly available: Wave<never, boolean>
  withExclusion<R, E, A>(inner: Wave<E, A>): Wave<E, A>
}

makeMutex (constant)

Signature

export const  = ...