Skip to content

Commit

Permalink
Named enums in broadcast_manager
Browse files Browse the repository at this point in the history
Co-authored-by: Nikhil Narayana <[email protected]>
  • Loading branch information
jmlee337 and NikhilNarayana authored Mar 25, 2024
1 parent 4838eda commit caa54b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/broadcast/broadcast_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ const BACKUP_MAX_LENGTH = 1800;

const CONNECTING_SUB_STEP_INITIAL_TIMEOUT = 2000;
enum ConnectingSubStep {
NONE = 0,
SOCKET = 1,
GET = 2,
START = 3,
NONE = "NONE",
SOCKET = "SOCKET",
GET = "GET",
START = "START",
}
type ConnectingSubState = {
step: ConnectingSubStep;
Expand Down

0 comments on commit caa54b1

Please sign in to comment.