Link

Table of contents


Completable (interface)

Signature

export interface Completable<A> {
  value(): Option<A>
  isComplete(): boolean
  complete(a: A): void
  tryComplete(a: A): boolean
  listen(f: FunctionN<[A], void>): Lazy<void>
}

completable (function)

Signature

export function completable<A>(): Completable<A> { ... }