Contents

perform(_:)

Executes the provided closure asynchronously on the coordinator’s queue and awaits the result.

Declaration

@preconcurrency func perform<T>(_ block: @escaping  @Sendable () throws -> T) async rethrows -> T

Parameters

  • block:

    The closure to execute.

See Also

Performing tasks