File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/remote-config/src/client Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { ConfigUpdateObserver } from "../public_types";
1919const MAX_HTTP_RETRIES = 8 ;
2020
2121export 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
You can’t perform that action at this time.
0 commit comments