We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ee8c16 commit a5c87edCopy full SHA for a5c87ed
Sources/Realtime/RealtimeClientV2.swift
@@ -74,7 +74,7 @@ public final class RealtimeClientV2: Sendable {
74
///
75
/// You can also use ``onHeartbeat(_:)`` for a closure based method.
76
public var heartbeat: AsyncStream<HeartbeatStatus> {
77
- heartbeatSubject.values.compactMap { $0 }.eraseToStream()
+ heartbeatSubject.values.compactMap { value -> HeartbeatStatus? in value }.eraseToStream()
78
}
79
80
/// Listen for connection status changes.
0 commit comments