SwiftextensionRoyaUtilitiesSwift

extension Swift.Task

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

Members 2

  1. funcstatic Task< where B == Error>.immediateAndWait(name: String?, priority: TaskPriority?, executorPreference: __owned TaskExecutor?, operation: @Sendable () async throws -> A) throws -> A
  2. funcstatic Task< where B == Never>.immediateAndWait(name: String?, priority: TaskPriority?, executorPreference: __owned TaskExecutor?, operation: @Sendable () async -> A) -> A
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
}