Skip to content

Commit

Permalink
feat(src/service.ts): call Service.executePostActions() after each …
Browse files Browse the repository at this point in the history
…dequeued effect is done

This is using recursion, but should be safe as per
https://discord.com/channels/795981131316985866/1166668863916744774/1177978613556056106
  • Loading branch information
retro committed Feb 9, 2024
1 parent e6bf1e3 commit d50a9a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,7 @@ export class Service<
return Effect.gen(function* ($) {
yield* $(match(item));
yield* $(self.emitStateChanges());
yield* $(self.executePostActions());
});
});

Expand Down

0 comments on commit d50a9a4

Please sign in to comment.