Interrupting an Effect Fiber from a React Button
Hey! Anyone know how I would go about interrupting a Effect fiber inside an Effect program as result of user clicking a button?
So basically
So basically
onClick={() => interrupt()}, but I have no idea if there is a way to control an Effect program from outside of it's context (eg. from a React button in this case)