Type Parameters

  • R

Hierarchy

  • Resolver

Properties

Methods

Properties

promise: Bluebird<R>

Returns a reference to the controlled promise that can be passed to clients.

Methods

  • TODO specify resolver callback

    Parameters

    • err: any
    • value: R
    • Rest ...values: R[]

    Returns void

  • Reject the underlying promise with reason as the rejection reason.

    Parameters

    • reason: any

    Returns void

  • Resolve the underlying promise with value as the resolution value. If value is a thenable or a promise, the underlying promise will assume its state.

    Parameters

    • value: R

    Returns void

  • Returns void