Tornado icon indicating copy to clipboard operation
Tornado copied to clipboard

Handle "thenable" promises

Open b-viguier opened this issue 6 years ago • 0 comments

To be able to use existing libraries returning "thenable" promises, we could add a method like

EventLoop::promiseFromThenable($thenablePromise): Promise

Up to each event loop implementation to deal with it.

❓ Should we restrict thenable promises to React PromiseInterface 🤔 ?

b-viguier avatar Sep 17 '18 08:09 b-viguier