IDeferred interface

Methods

promise()
reject(string)
resolve(T)
state()

Method Details

promise()

function promise()

Returns

reject(string)

function reject(error: string)

Parameters

error
string

Returns

resolve(T)

function resolve(result: T)

Parameters

result
T

Returns

state()

function state()

Returns