Closed
Description
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 givenresolver
closure.resolver
takes two closure that your code should call to either resolve or reject thisJSPromise
instance.
Metadata
Metadata
Assignees
Labels
No labels