Skip to content

Commit e95b313

Browse files
committed
add comment
1 parent 13ea965 commit e95b313

File tree

1 file changed

+4
-0
lines changed
  • chartlets.js/packages/lib/src/types/state

1 file changed

+4
-0
lines changed

chartlets.js/packages/lib/src/types/state/store.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,9 @@ export interface StoreState {
3030
* there are no state changes
3131
*/
3232
lastCallbackInputValues: Record<string, unknown[]>;
33+
/**
34+
* Store the loading state of each output ID of the callback that is invoked.
35+
* If the request fails, the state is set to `failed`
36+
*/
3337
loadingState: Record<string, boolean | "failed">;
3438
}

0 commit comments

Comments
 (0)