cujojs / when

A solid, fast Promises/A+ and when() implementation, plus other async goodies.
Other
3.44k stars 396 forks source link

Refactor when.guard to be more flexible. (experimental) #439

Open ChrisEineke opened 9 years ago

ChrisEineke commented 9 years ago

@briancavalier , this should make guard a little more flexible. What do you think?

briancavalier commented 9 years ago

@ceineke Thanks for working on this, and sorry it took me a bit to get back to you. I took a quick look and I like the direction (switching to an object). I'll give it a more thorough look soon.