Luminova Framework

Promise Object Resolvers

Create and chain promises, handle fulfillment and rejection, and settle deferred results from callbacks.

Table of Contents

  1. Resolve or Reject a Deferred Promise

    Create a pending promise, give it to the code waiting for a result, and settle it when a callback provides a value or reports a failure.

  2. Create an Already Fulfilled Promise

    Wrap a known value in an already fulfilled promise so callers can use the standard promise API.

  3. Create an Already Rejected Promise

    Wrap a known exception in an already rejected promise so callers can use the standard promise API.

  4. Work with Promises

    Create, chain, and combine Luminova promises. Handle fulfillment, rejection, and cancellation, or adapt a callback-based task to return a promise.