Documentation
Interfaces
common.Sink

Interface: Sink<T>

common.Sink

A representation of any set of values over any amount of time.

Type parameters

NameType
Tunknown

Methods

complete

complete(): void

The sink has completed. This function “closes” the sink.

Returns

void

Defined in

src/common.ts:152


error

error(error): void

An error that has occurred. This function “closes” the sink.

Parameters

NameType
errorunknown

Returns

void

Defined in

src/common.ts:150


next

next(value): void

Next value arriving.

Parameters

NameType
valueT

Returns

void

Defined in

src/common.ts:148