We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa17b19 commit 32568bdCopy full SHA for 32568bd
1 file changed
Sources/WebSocket/WebSocket.swift
@@ -80,7 +80,7 @@ public extension WebSocket {
80
receiveCompletion: { _ in continuation.finish() },
81
receiveValue: { continuation.yield($0) }
82
)
83
- continuation.onTermination = { @Sendable _ in cancellable.cancel() }
+ continuation.onTermination = { _ in cancellable.cancel() }
84
return stream
85
}
86
0 commit comments