SwiftextensionSiriAppIntents

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 A == (), B == Error>.pds_xpcCallback<A>(priority: TaskPriority?, callback: (A1?, Error?) -> (), body: @Sendable () async throws -> A1) -> Task<(), Error>
extension Swift.Task {
    static func pds_xpcCallback<A1>(priority: Swift.TaskPriority?, callback: @escaping (A1?, (any Swift.Error)?) -> (), body: @escaping @Sendable () async throws -> A1) -> Swift.Task<(), any Swift.Error> where A == (), B == any Swift.Error
}