performAndWait(_:)
Executes the provided closure on the coordinator’s queue and waits for it to finish.
Declaration
func performAndWait(_ block: @Sendable () -> Void)Parameters
- block:
The closure to execute.
Executes the provided closure on the coordinator’s queue and waits for it to finish.
func performAndWait(_ block: @Sendable () -> Void)The closure to execute.