Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

JSPromise(resolver:) usage #156

Copy link
Copy link
@mhavu

Description

@mhavu
Issue body actions

Could somebody provide an example of how to use JSPromise(resolver:)? I'm having hard time decoding the following comment in the source code:

Creates a new JSPromise instance from a given resolver closure. resolver takes two closure that your code should call to either resolve or reject this JSPromise instance.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.