sinew_presentation 1.1.0
sinew_presentation: ^1.1.0 copied to clipboard
StateEffectHandler, EventActionHandler and EffectEmitter, framework-neutral.
1.1.0 #
AppService,ServiceLifetimeandAppServiceHost: work with the app's or the signed-in session's lifetime and no UI (a purchase, pub/sub, push).startApprunsinitthenlistenfor app services in list order;startSessionandstopSessiondo the same for session services, andstopSessiondestroys them in reverse order. A step that throws is surfaced as an unhandled error, and the service still listens and the others still start. Raised by Graft (#91).
1.0.0 #
- S2:
EffectEmitter(buffers while nobody listens, one listener at a time, re-listenable, hands an effect over only to an active, unpaused listener),StateEffectHandler(state,states,effects,@protectedsetStateandemitEffect, inert afterdispose) andEventActionHandler(onEventmaps an event to an action and runs it without awaiting, so actions run concurrently). - S0: package skeleton.