Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ open class XCTNSNotificationExpectation: XCTestExpectation {
/// - Returns: `true` if the expectation should be fulfilled, `false` if it should not.
///
/// - SeeAlso: `XCTNSNotificationExpectation.handler`
public typealias Handler = (Notification) -> Bool
public typealias Handler = @Sendable (Notification) -> Bool

private let queue = DispatchQueue(label: "org.swift.XCTest.XCTNSNotificationExpectation")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ open class XCTNSPredicateExpectation: XCTestExpectation {
/// - Returns: `true` if the expectation should be fulfilled, `false` if it should not.
///
/// - SeeAlso: `XCTNSPredicateExpectation.handler`
public typealias Handler = () -> Bool
public typealias Handler = @Sendable () -> Bool

private let queue = DispatchQueue(label: "org.swift.XCTest.XCTNSPredicateExpectation")

Expand Down