Closed
Description
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.