Updating an App to Use Swift Concurrency
アプリをSwift並行性を使うように更新する
Improve your app’s performance by refactoring your code to take advantage of asynchronous functions in Swift.
Swiftでの並行性関数を利用するようにあなたのコードをリファクタリングすることであなたのアプリの性能を改良してください。
struct Task
struct TaskGroup
struct ThrowingTaskGroup
struct TaskPriority
struct UnsafeCurrentTask
protocol AsyncSequence
struct AsyncStream
struct AsyncThrowingStream
struct CheckedContinuation
func withCheckedContinuation <T>(function: String, (CheckedContinuation<T, Never>) -> Void) -> T
func withCheckedThrowingContinuation <T>(function: String, (CheckedContinuation<T, Error>) -> Void) -> T
struct UnsafeContinuation
func withUnsafeContinuation <T>((UnsafeContinuation<T, Never>) -> Void) -> T
func withUnsafeThrowingContinuation <T>((UnsafeContinuation<T, Error>) -> Void) -> T
protocol Sendable
protocol Actor
class MainActor
protocol GlobalActor
typealias ConcurrentValue
Deprecated
非推奨
protocol UnsafeSendable
typealias UnsafeConcurrentValue
Deprecated
非推奨
class TaskLocal
protocol Executor
protocol SerialExecutor
typealias PartialAsyncTask
struct UnownedJob
struct UnownedSerialExecutor
SerialExecutor
value).
ある直列遂行者(シリアルエグゼキュータ)への非所有参照(SerialExecutor
値)。