From 59bf5921699a431b57f1843467e62adbce88b4a3 Mon Sep 17 00:00:00 2001 From: Junhao Liao Date: Thu, 3 Oct 2024 13:18:57 +0800 Subject: [PATCH] Add docs for LOAD_STATE. --- new-log-viewer/src/typings/worker.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/new-log-viewer/src/typings/worker.ts b/new-log-viewer/src/typings/worker.ts index c258219a..3fef9468 100644 --- a/new-log-viewer/src/typings/worker.ts +++ b/new-log-viewer/src/typings/worker.ts @@ -2,6 +2,9 @@ import {DecoderOptionsType} from "./decoders"; 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 { UNOPENED = "unopened", LOADING = "loading",