mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
9ead8781d4
Co-authored-by: Alex Martini <amartini@apple.com> Co-authored-by: Graham Lee <glee23@apple.com> Co-authored-by: Chris Adamson <cadamson@apple.com> Co-authored-by: Kirby Turner <kirby_turner@apple.com> Co-authored-by: Paris Pinkney <ppinkney@apple.com> Co-authored-by: Dave Spector <dspector@apple.com> Co-authored-by: Sofia Rodriguez Morales <sofia_rodriguez@apple.com> Co-authored-by: Ethan Kusters <ekusters@apple.com> Co-authored-by: Goli Mohammadi <g_mohammadi@apple.com> Co-authored-by: Adora Vaz <a_vaz@apple.com> Co-authored-by: David Rönnqvist <ronnqvist@apple.com> Co-authored-by: Nate Merseth Cook <natecook@apple.com> Co-authored-by: Susan Conant <susan_c@apple.com>
85 lines
2.0 KiB
Markdown
85 lines
2.0 KiB
Markdown
# Concurrency
|
|
|
|
Perform asynchronous and parallel operations.
|
|
|
|
## Topics
|
|
|
|
|
|
### Tasks
|
|
|
|
- ``Swift/Task``
|
|
- ``Swift/TaskGroup``
|
|
- ``Swift/withTaskGroup(of:returning:isolation:body:)``
|
|
- ``Swift/ThrowingTaskGroup``
|
|
- ``Swift/withThrowingTaskGroup(of:returning:isolation:body:)``
|
|
- ``Swift/TaskPriority``
|
|
- ``Swift/DiscardingTaskGroup``
|
|
- ``Swift/withDiscardingTaskGroup(returning:isolation:body:)``
|
|
- ``Swift/ThrowingDiscardingTaskGroup``
|
|
- ``Swift/withThrowingDiscardingTaskGroup(returning:isolation:body:)``
|
|
- ``Swift/UnsafeCurrentTask``
|
|
|
|
### Asynchronous Sequences
|
|
|
|
- ``Swift/AsyncSequence``
|
|
- ``Swift/AsyncStream``
|
|
- ``Swift/AsyncThrowingStream``
|
|
|
|
### Continuations
|
|
|
|
- ``Swift/CheckedContinuation``
|
|
- ``Swift/withCheckedContinuation(isolation:function:_:)``
|
|
- ``Swift/withCheckedThrowingContinuation(isolation:function:_:)``
|
|
- ``Swift/UnsafeContinuation``
|
|
- ``Swift/withUnsafeContinuation(isolation:_:)``
|
|
- ``Swift/withUnsafeThrowingContinuation(isolation:_:)``
|
|
|
|
### Actors
|
|
|
|
- ``Swift/Sendable``
|
|
- ``Swift/Actor``
|
|
- ``Swift/AnyActor``
|
|
- ``Swift/MainActor``
|
|
- ``Swift/GlobalActor``
|
|
- ``Swift/SendableMetatype``
|
|
- ``Swift/ConcurrentValue``
|
|
- ``Swift/UnsafeSendable``
|
|
- ``Swift/UnsafeConcurrentValue``
|
|
- ``Swift/isolation()-u1o6``
|
|
- ``Swift/extractIsolation(_:)``
|
|
|
|
### Task-Local Storage
|
|
|
|
- ``Swift/TaskLocal``
|
|
- ``Swift/TaskLocal()``
|
|
|
|
### Executors
|
|
|
|
- ``Swift/Executor``
|
|
- ``Swift/ExecutorJob``
|
|
- ``Swift/SerialExecutor``
|
|
- ``Swift/TaskExecutor``
|
|
- ``Swift/PartialAsyncTask``
|
|
- ``Swift/UnownedJob``
|
|
- ``Swift/JobPriority``
|
|
- ``Swift/UnownedSerialExecutor``
|
|
- ``Swift/UnownedTaskExecutor``
|
|
- ``Swift/UnimplementedMainExecutor``
|
|
- ``Swift/UnimplementedTaskExecutor``
|
|
- ``SchedulingExecutor``
|
|
- ``Swift/globalConcurrentExecutor``
|
|
- ``Swift/withTaskExecutorPreference(_:isolation:operation:)``
|
|
|
|
### Main and Task Executors
|
|
|
|
- ``Swift/MainExecutor``
|
|
- ``Swift/RunLoopExecutor``
|
|
- ``Swift/ExecutorFactory``
|
|
- ``Swift/PlatformExecutorFactory``
|
|
|
|
|
|
### Deprecated
|
|
|
|
- ``Swift/Job``
|
|
- ``Swift/UnsafeThrowingContinuation``
|