processReturnValue(value:in:)
Converts a JavaScript value into a value that is readable in Swift or Objective-C.
Declaration
optional func processReturnValue(value: JSValue, in jsContext: JSContext)Parameters
- value:
A JavaScript value returned by the dispatch event.
- jsContext:
The JavaScript context for the value.