Skip to content

Handle "thenable" promises #13

Description

@b-viguier

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 🤔 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions