Skip to content

Return promises to make use of async/await #81

Closed
@email2vimalraj

Description

@email2vimalraj

Currently there are too many callbacks (ex: search with polling), it is kind of confusing users on handling. Can we just return promises and users can use the modern async/await to get the information required?

I'm being stumbled upon where I've to stream the preview results whenever it is available. This would be a great addition and will improve DX.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions