InvokeAI/invokeai/app
psychedelicious b777dba430 feat: batch events
When a batch creates a session, we need to alert the client of this. Because the sessions are created by the batch manager (not directly in response to a client action), we need to emit an event with the session id.

To accomodate this, a secondary set of sio sub/unsub/event handlers are created. These are specifically for batch events. The room is the `batch_id`.

When creating a batch, the client subscribes to this batch room.

When the batch manager creates a batch session, a `batch_session_created` event is emitted in the appropriate room.  It includes the session id. The client then may subscribe to the session room, and all socket stuff proceeds as it did before.
2023-09-05 21:17:33 +10:00
..
api feat: batch events 2023-09-05 21:17:33 +10:00
assets/images tweaks in response to psychedelicious review of PR 2023-07-26 15:27:04 +10:00
cli Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
invocations Merge branch 'main' into lama-infill 2023-09-05 14:16:27 +12:00
models feat(nodes): refactor parameter/primitive nodes 2023-08-16 09:54:38 +10:00
services feat: batch events 2023-09-05 21:17:33 +10:00
util Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
api_app.py Merge branch 'main' into feat/dev_reload 2023-08-21 18:22:31 -07:00
cli_app.py Merge branch 'main' into feat/batch-graphs 2023-08-18 15:40:34 -04:00