Closed grynspan closed 1 year ago
See for example https://developer.apple.com/documentation/xctest/xctnsnotificationexpectation/handler
The handlers for XCTestExpectation subclasses need to be @Sendable because they can be invoked asynchronously or concurrently.
XCTestExpectation
@Sendable
See for example https://developer.apple.com/documentation/xctest/xctnsnotificationexpectation/handler
The handlers for
XCTestExpectation
subclasses need to be@Sendable
because they can be invoked asynchronously or concurrently.