mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 00:20:07 +00:00
[lint] Enforce @typescript-eslint/no-floating-promises (#3402)
This commit is contained in:
@@ -17,14 +17,15 @@ export function setupAutoQueueHandler() {
|
||||
graphHasChanged = true
|
||||
} else {
|
||||
graphHasChanged = false
|
||||
app.queuePrompt(0, queueSettingsStore.batchCount)
|
||||
// Queue the prompt in the background
|
||||
void app.queuePrompt(0, queueSettingsStore.batchCount)
|
||||
internalCount++
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
queueCountStore.$subscribe(
|
||||
() => {
|
||||
async () => {
|
||||
internalCount = queueCountStore.count
|
||||
if (!internalCount && !app.lastExecutionError) {
|
||||
if (
|
||||
@@ -32,7 +33,7 @@ export function setupAutoQueueHandler() {
|
||||
(queueSettingsStore.mode === 'change' && graphHasChanged)
|
||||
) {
|
||||
graphHasChanged = false
|
||||
app.queuePrompt(0, queueSettingsStore.batchCount)
|
||||
await app.queuePrompt(0, queueSettingsStore.batchCount)
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user