Skip to content

Commit

Permalink
Complete docs for LOAD_STATE.
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao committed Oct 3, 2024
1 parent 59bf592 commit 76f497f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions new-log-viewer/src/typings/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,20 @@ import {LOG_LEVEL} from "./logs";
* Various states of a load process. UI elements may be enabled or disabled based on the state.
*/
enum LOAD_STATE {

/**
* When there is no file opened in the viewer.
*/
UNOPENED = "unopened",

/**
* When a request is pending response.
*/
LOADING = "loading",

/**
* When there is no pending response from any request.
*/
READY = "ready",
}

Expand Down

0 comments on commit 76f497f

Please sign in to comment.