File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,7 @@ public protocol TaskExecutor: Executor {
242242 // avoid drilling down to the base conformance just for the basic
243243 // work-scheduling operation.
244244 @_nonoverride
245+ @available ( * , deprecated, message: " Implement 'enqueue(_: consuming ExecutorJob)' instead " )
245246 func enqueue( _ job: consuming Job )
246247 #endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
247248
@@ -519,7 +520,6 @@ where E: SerialExecutor {
519520 #endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
520521}
521522
522- /// Used by Swift Concurrency runtime to call into a task executor's `enqueue`.
523523@_unavailableInEmbedded
524524@available ( SwiftStdlib 6 . 0 , * )
525525@_silgen_name ( " _swift_task_enqueueOnTaskExecutor " )
You can’t perform that action at this time.
0 commit comments