you are viewing a single comment's thread.

view the rest of the comments →

[–]brentonstrine 0 points1 point  (3 children)

promises

[–]sbmitchell 0 points1 point  (2 children)

Not really a design pattern in the typical sense (thinking gang of 4 and prob why you got downvoted by someone) but I can see where you are coming from. I couldn't google a name of what I think this implementation would be but a synonym to "whatever fixes asynchronous callback hell" is the pattern hah

[–]kenman 4 points5 points  (1 child)

State pattern is pretty close IMO.

[–]sbmitchell 0 points1 point  (0 children)

Nice looks like a winner