mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
e4705d5ce7
Some socket events should not be handled by the slice reducers. For example generation progress should not be handled for a canceled session. Added another layer of socket actions. Example: - `socketGeneratorProgress` is dispatched when the actual socket event is received - Listener middleware exclusively handles this event and determines if the application should also handle it - If so, it dispatches `appSocketGeneratorProgress`, which the slices can handle Needed to fix issues related to canceling invocations. |
||
---|---|---|
.. | ||
app | ||
assets/images | ||
common | ||
features | ||
services | ||
theme | ||
i18.d.ts | ||
i18n.ts | ||
index.ts | ||
main.tsx | ||
vite-env.d.ts |