SwiftextensionFitnessIntelligence

extension Swift.Task

Structure

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

extends{}

Members 1

  1. funcstatic Task< where B == Error>.withTimeout(_: Double, _: @Sendable () async throws -> A, onTimeout: (@Sendable () throws -> ())?) async throws -> A
extension Swift.Task {
    static func withTimeout(_: Swift.Double, _: @escaping @Sendable () async throws -> A, onTimeout: (@Sendable () throws -> ())?) async throws -> A where B == any Swift.Error
}