SwiftextensionRoyaUtilitiesSwift
extension Swift.Task
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
structSwift.Task
Members 2
- func
static Task< where B == Error>.immediateAndWait(name: String?, priority: TaskPriority?, executorPreference: __owned TaskExecutor?, operation: @Sendable () async throws -> A) throws -> A - func
static Task< where B == Never>.immediateAndWait(name: String?, priority: TaskPriority?, executorPreference: __owned TaskExecutor?, operation: @Sendable () async -> A) -> A
Header
extension Swift.Task { static func immediateAndWait(name: Swift.String?, priority: Swift.TaskPriority?, executorPreference: consuming (any Swift.TaskExecutor)?, operation: @escaping @Sendable () async throws -> A) throws -> A where B == any Swift.Error static func immediateAndWait(name: Swift.String?, priority: Swift.TaskPriority?, executorPreference: consuming (any Swift.TaskExecutor)?, operation: @escaping @Sendable () async -> A) -> A where B == Swift.Never }