Skip to content

Conversation

…ents

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.
This may cause minor gallery jumpiness at the very end of processing, but is necessary to prevent the progress image from sticking around if the last node in a session did not have an image output.
wasn't fully baked. will revisist in the future.
@psychedelicious psychedelicious marked this pull request as ready for review May 29, 2023 12:51
@hipsterusername hipsterusername merged commit 070218a into main May 29, 2023
@hipsterusername hipsterusername deleted the fix/misc-fixes branch May 29, 2023 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants