Contents

performAll(_:)

Schedules a collection of framework requests to perform on the handler’s image.

Declaration

final func performAll(_ requests: some Collection<any VisionRequest>) -> some AsyncSequence<VisionResult, Never>

Parameters

  • requests:

    A collection of requests to perform.

Return Value

A sequence of requests results.

Discussion

This function doesn’t wait for requests to complete before returning. You can receive request results from the AsyncSequence as they become available.

See Also

Performing the request