Closed joshuahhh closed 8 years ago
OK. Seems like functionality should be the same based on my reading. I am neutral about one being less confusing than the other. I see what you mean that your way is safer. I commend you for understanding this part of the code :stuck_out_tongue_closed_eyes:
If tests pass and it works I'm fine with the change.
Two small changes having to do with
ComputationManager
:computationManager
isn't running, call myself recursively throughcomputationManager.run
" pattern to be confusing, so I put that behavior intocomputationManager.run
itself. (This is a safe change unless there's a meaning to callingcomputationManager.run
inside a callback passed tocomputationManager.run
. In fact, I think it's safer than before?)computationManager.memoize
.(Heads up, I made both of these changes while working on a larger
Dataflow
refactor. That larger refactor may or may not make sense, but these seemed like good changes regardless.)