ursus
12/25/2018, 7:16 PMartem_zin
12/26/2018, 11:16 PMbuffer
lifetime is equal to the Observable, imo it's fine, but depends on your style
scan
would be more idiomatic yeaursus
12/27/2018, 1:17 PMprocess(action): effect
, and from scan I'd need to return the statemachine instance. That would mean returning Pair<Statemachine, Effect> which at that point map is more idiomatic i think. I'd best want just to pass statemachine instance to next lambda, with action as input, effect as output.ursus
12/27/2018, 1:19 PMartem_zin
12/27/2018, 7:23 PMursus
12/27/2018, 10:55 PM