Class: PromiseProvider

(abstract) PromiseProvider()

(abstract) new PromiseProvider()

The PromiseProvider class is the base class for providers of Promise instances.
A concrete implementation is required to implement PromiseProvider#newPromise so that this method returns a Promise that will be used by the library to do JMAP requests and other asynchronous things.

This level of abstraction allows users of the library to plug in their own implementation in order to use their favorite Promise library. Implementations for Q and native ES6 Promises are provided.

Source:
See: