millermedeiros / js-signals

Custom Event/Messaging system for JavaScript inspired by AS3-Signals
http://millermedeiros.github.com/js-signals/
1.97k stars 179 forks source link

reset(), restart(), memorize and CompoundSignal #36

Closed millermedeiros closed 12 years ago

millermedeiros commented 12 years ago

just realized that reset() isn't a good name for clearing the memorized arguments.. CompoundSignal also needs a way to reset the stored arguments and mark it as unresolved..

so far I have reset() for clearing the memorized arguments and restart() to restoring the CompoundSignal to it's original state.. I think the names are too similar and it will be confusing.

See: #34 and #29

millermedeiros commented 12 years ago

I'm considering a name like forget() for clearing the memorized arguments and using reset() on the CompoundSignal..