Better HN
topnewbestaskshowjobs
Log inSign up

shopfaunt321

1 karma · joined Apr 13, 2016 (10y ago) · 1 submissions

Submissions

comment 10y ago · link · parent

Good stuff,

The EAT_BURGER seems slightly odd, as i've never hit a situation where I would allow a second one to be fired while the first is still pending. I.E. upon EAT_BURGER.start i would disable the UI for the EAT_BURGER action to be fired. I guess that's an idealised world and you've hit something more complicated that requires it though, and the solution is good

I particularly like the async call tracking - very simple and neatly solves your issue!

Cheers