Adding onInterrupt to Current Effect Using Yield
Is there any way to add an onInterrupt to the current effect using yield? I.e. I know you can pipe it at the end but I need to reference a var created w/in the gen block in the cleanup fn.
Effect.gen(function* (_) {
yield* _(Effect.onInterrupt(() => ...))
})