Skip to content

Commit 32568bd

Browse files
committed
Fix warning
1 parent aa17b19 commit 32568bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/WebSocket/WebSocket.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public extension WebSocket {
8080
receiveCompletion: { _ in continuation.finish() },
8181
receiveValue: { continuation.yield($0) }
8282
)
83-
continuation.onTermination = { @Sendable _ in cancellable.cancel() }
83+
continuation.onTermination = { _ in cancellable.cancel() }
8484
return stream
8585
}
8686
}

0 commit comments

Comments
 (0)