Tornado
Tornado copied to clipboard
Handle "thenable" promises
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 🤔 ?