Skip to content

Expectation handlers need to be @Sendable. #454

Closed
@grynspan

Description

@grynspan

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions