Interrupting Effects in a Stream with New Queue Items
I have a unbounded
Here's what I have so far:
Queue, that is used to create a stream to run effects when new items get added. I want to interrupt the current effect if new items get added before the effect finishes. Any ideas on how to accomplish this?Here's what I have so far:
