We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
_runtime(multithreaded)
1 parent 4ee27e6 commit a0c4602Copy full SHA for a0c4602
Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift
@@ -61,7 +61,7 @@ public final class JavaScriptEventLoop: SerialExecutor, @unchecked Sendable {
61
return _shared
62
}
63
64
- #if _runtime(_multithreaded)
+ #if compiler(>=6.0) && _runtime(_multithreaded)
65
// In multi-threaded environment, we have an event loop executor per
66
// thread (per Web Worker). A job enqueued in one thread should be
67
// executed in the same thread under this global executor.
0 commit comments