bordoley / reactive-js

Fast modern reactive Javascript programming library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use a queue to prevent enqueing onto the child observer when paused

bordoley opened this issue · comments

commented

} else if (!observer[QueueableLike_enqueue](next.value)) {

commented

Likely solution is to wrap in the observer with a delegating wrapper that uses a pauseable scheduler

commented

Or maybe change PauseableObs.create to use a pauseable scheduler and hide the queuing and remove the logic from Runnable.flow