import JavaScriptEventLoop
Coverage
Declarations
Interfaces
struct JSSending<T>
A temporary object intended to send a JavaScript object from one thread to another.
struct JSSendingError
Error type representing failures during JavaScript object sending operations.
final class JavaScriptEventLoop
Singleton type responsible for integrating JavaScript event loop as a Swift concurrency executor, conforming to SerialExecutor protocol from the standard library. To utilize it:
SerialExecutor
final class WebWorkerDedicatedExecutor
A serial executor that runs on a dedicated web worker thread.
final class WebWorkerTaskExecutor
A task executor that runs tasks on Web Worker threads.
import JavaScriptBigIntSupport
import JavaScriptEventLoopTestSupport
import JavaScriptKit
Swift framework to interact with JavaScript through WebAssembly.
import PackageToJS
import _CJavaScriptBigIntSupport
import _CJavaScriptEventLoop
import _CJavaScriptEventLoopTestSupport
import _CJavaScriptKit