Right now, if you add a subscription, and then remove it, the old subscription won't be removed because it's event queue doesn't tick (since it hasn't received an input). This is because we have a distinction of Step vs Loop in the EventQueue machine. By changing it to just Loop, which we are already kind of doing with looped, we can tick (or commit) the machine when no inputs are provided.
Right now, if you add a subscription, and then remove it, the old subscription won't be removed because it's event queue doesn't tick (since it hasn't received an input). This is because we have a distinction of
Step
vsLoop
in theEventQueue
machine. By changing it to justLoop
, which we are already kind of doing withlooped
, we can tick (orcommit
) the machine when no inputs are provided.