This commit is contained in:
Sidharth Vinod
2022-10-20 12:16:56 +05:30
parent 80712d9190
commit 797bac3370
+1
View File
@@ -93,6 +93,7 @@ export const stateStore: Readable<ValidatedState> = derived(
[inputStateStore],
([state], set) => {
if (!q) {
// Initialize the queue for first time.
q = new AsyncQueue(async (state: State) => {
const newState = await processState(state);
set(newState);