Sink class

Constructors

Sink()

Properties

on
reject
resolve
result
state

Constructor Details

Sink()

new Sink()

Property Details

on

on: (successCallback: (result: T) => void, errorCallback: (error: string) => void) => void

Property Value

(successCallback: (result: T) => void, errorCallback: (error: string) => void) => void

reject

reject: (error: string) => void

Property Value

(error: string) => void

resolve

resolve: (result: T) => void

Property Value

(result: T) => void

result

PromiseResult<T> result

Property Value

state

PromiseState state

Property Value