We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 034a8a0 + ad2fcc6 commit 6d8f6fcCopy full SHA for 6d8f6fc
stdlib/public/Concurrency/GlobalConcurrentExecutor.swift
@@ -54,7 +54,7 @@ internal final class _DefaultGlobalConcurrentExecutor: TaskExecutor {
54
_enqueueJobGlobal(job.context)
55
}
56
57
- public func asUnownedTaskExecutor() {
+ public func asUnownedTaskExecutor() -> UnownedTaskExecutor {
58
// The "default global concurrent executor" is simply the "undefined" one.
59
// We represent it as the `(0, 0)` ExecutorRef and it is handled properly
60
// by the runtime, without having to call through to the
@@ -63,4 +63,4 @@ internal final class _DefaultGlobalConcurrentExecutor: TaskExecutor {
63
64
65
66
-#endif
+#endif
0 commit comments