PromiseResultEventSource class

Properties

on
setError
setResult

Property Details

on

on: (onSetResult: (result: T) => void, onSetError: (error: string) => void) => void

Property Value

(onSetResult: (result: T) => void, onSetError: (error: string) => void) => void

setError

setError: (error: string) => void

Property Value

(error: string) => void

setResult

setResult: (result: T) => void

Property Value

(result: T) => void