Show:

Mixin: Deferred

Deferred

Deferred mixin class.

Extends

Methods

wake(context){Promise}

mixins/Deferred.js, line 33

Wraps the wake() call with a promise that defers it.

Related options:

  • promise: a promise object, or a function that returns one, that once resolved invokes wake(). If it's a function it takes the context argument as param.
Name Type Description
context * optional

will be supplied to the promise option if it's a function.