Java |
The JavaScriptExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() | ToAsyncEnumerable | Supports managed asynchronous iteration over an async-iterable script object. |
![]() | ToEnumerable | Supports managed iteration over an iterable script object. |
![]() | ToPromise(Task) | Converts a Task instance to a promise for use with script code currently running on the calling thread. |
![]() | ToPromise(ValueTask) | Converts a ValueTask instance to a promise for use with script code currently running on the calling thread. |
![]() | ToPromise(Task, ScriptEngine) | Converts a Task instance to a promise for use with script code running in the specified script engine. |
![]() | ToPromise(ValueTask, ScriptEngine) | Converts a ValueTask instance to a promise for use with script code running in the specified script engine. |
![]() | ToPromise<T>(Task<T>) | Converts a Task<TResult> instance to a promise for use with script code currently running on the calling thread. |
![]() | ToPromise<T>(ValueTask<T>) | Converts a ValueTask<TResult> instance to a promise for use with script code currently running on the calling thread. |
![]() | ToPromise<T>(Task<T>, ScriptEngine) | Converts a Task<TResult> instance to a promise for use with script code running in the specified script engine. |
![]() | ToPromise<T>(ValueTask<T>, ScriptEngine) | Converts a ValueTask<TResult> instance to a promise for use with script code running in the specified script engine. |
![]() | ToTask | Converts a promise to a Task<Object> instance. |