Skip to content

Commit a496a86

Browse files
committed
fixes
2 parents 9435a16 + 0e1e4c9 commit a496a86

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/remote-config/src/client/realtime_handler.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { ConfigUpdateObserver } from "../public_types";
1919
const MAX_HTTP_RETRIES = 8;
2020

2121
export class RealtimeHandler{
22-
constructor ()
22+
constructor ( )
2323
{ }
2424

2525
private observers: Set<ConfigUpdateObserver> = new Set<ConfigUpdateObserver>();
@@ -28,10 +28,12 @@ export class RealtimeHandler{
2828
* Adds an observer to the realtime updates.
2929
* @param observer The observer to add.
3030
*/
31-
public addObserver(observer: ConfigUpdateObserver) {
31+
public addObserver(observer: ConfigUpdateObserver): void {
3232
this.observers.add(observer);
3333
this.beginRealtime();
34+
3435
}
36+
3537
/**
3638
* Removes an observer from the realtime updates.
3739
* @param observer The observer to remove.
@@ -44,7 +46,7 @@ export class RealtimeHandler{
4446

4547
private beginRealtime(): void {
4648
if (this.observers.size > 0) {
47-
this.makeRealtimeHttpConnection(0);
49+
this.makeRealtimeHttpConnection(0)
4850
}
4951
}
5052

0 commit comments

Comments
 (0)