withCancellationHandler(handler:operation:)

    This declaration is deprecated: `Task.withCancellationHandler` has been replaced by `withTaskCancellationHandler` and will be removed shortly.

    static func withCancellationHandler<T>(handler: () -> Void, operation: () async throws -> T) async rethrows -> T

    Other members in extension

    Typealiases

    Show obsolete interfaces (3)

    Hide obsolete interfaces

    Type members

    Show obsolete interfaces (4)

    Hide obsolete interfaces