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 {
242
242
// avoid drilling down to the base conformance just for the basic
243
243
// work-scheduling operation.
244
244
@_nonoverride
245
+ @available ( * , deprecated, message: " Implement 'enqueue(_: consuming ExecutorJob)' instead " )
245
246
func enqueue( _ job: consuming Job )
246
247
#endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
247
248
@@ -519,7 +520,6 @@ where E: SerialExecutor {
519
520
#endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
520
521
}
521
522
522
- /// Used by Swift Concurrency runtime to call into a task executor's `enqueue`.
523
523
@_unavailableInEmbedded
524
524
@available ( SwiftStdlib 6 . 0 , * )
525
525
@_silgen_name ( " _swift_task_enqueueOnTaskExecutor " )
You can’t perform that action at this time.
0 commit comments