performAndWait(_:)
Executes the provided closure on the coordinator’s queue and waits for it to finish.
Declaration
@preconcurrency func performAndWait<T>(_ block: @Sendable () throws -> T) rethrows -> TParameters
- block:
The closure to execute.
Executes the provided closure on the coordinator’s queue and waits for it to finish.
@preconcurrency func performAndWait<T>(_ block: @Sendable () throws -> T) rethrows -> TThe closure to execute.