News for hackers. Stuff that matters.
Re:I got asked LeetCode questions for a dev-ops systems engi... by skinnymuch on Friday June 14, 2019 @05:11PM (#20186705)
Thunk, saga (as far as I know), etc have you put the code in an action [creator].
Re:I got asked LeetCode questions for a dev-ops systems engi... by fiddlerwoaroof on Friday June 14, 2019 @07:51PM (#20187594)
No, usually with sagas, your action creator stays synchronous and you yield your actions from a generator function that contains all the asynchronous bits.

It’s a beautiful system that brings a lot of the benefits of a Free-monad style effect system.