Skip to content

Commit 2ab61f6

Browse files
committed
fix docs
1 parent a86d92d commit 2ab61f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Realtime/RealtimeClientV2.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public final class RealtimeClientV2: Sendable {
7070
set { statusSubject.yield(newValue) }
7171
}
7272

73-
/// Listen for heartbeat checks.
73+
/// Listen for heartbeat status.
7474
///
7575
/// You can also use ``onHeartbeat(_:)`` for a closure based method.
7676
public var heartbeat: AsyncStream<HeartbeatStatus> {
@@ -90,7 +90,7 @@ public final class RealtimeClientV2: Sendable {
9090
}
9191

9292
/// Listen for heatbeat checks.
93-
/// - Parameter listener: Closure that will be called when a heartbeat is received.
93+
/// - Parameter listener: Closure that will be called when heartbeat status changes.
9494
/// - Returns: An observation handle that can be used to stop listening.
9595
///
9696
/// - Nite: Use ``heartbeat`` if you prefer to use Async/Await.

0 commit comments

Comments
 (0)