Closed PetrosPapapa closed 1 month ago
This is a chunky PR with a number of updates, especially on the FSM. It includes these: #15 #18 #19 #20 #21 resolves #13
?
Scheduler
TestKit
TimeoutFSMSuite
preStart
onTransition
ActorLogging
ReplyingActor
Actor
TrackingActor
StateManager$.minimalContext
actorContext
StateContext
TransitionContext
State$.forMax(FiniteDuration, Request)
VendingMachine
StateTimeout
AwaitingUserTimeout
com.suprnation.actor.fsm
This is a chunky PR with a number of updates, especially on the FSM. It includes these: #15 #18 #19 #20 #21 resolves #13
Changelog
General
?
pattern(s) now populates the sender. Use at your own risk.Scheduler
can now schedule fixed rate repeated tasks.TestKit
with a few handful testing methods with timings.Scheduler
, FSM responses, and FSM timers from Akka (with some overlap withTimeoutFSMSuite
).FSM
preStart
,onTransition
etc).Minor changes and bug fixes
ActorLogging
can now be used for anyReplyingActor
, not justActor
.Scheduler
showing up as idle when a fiber is still running or had thrown an exception.TrackingActor
to use queues instead of lists.StateManager$.minimalContext
toactorContext
to differentiate better from the newStateContext
andTransitionContext
.State$.forMax(FiniteDuration, Request)
for easier use.VendingMachine
incorrectly expecting aStateTimeout
instead of aAwaitingUserTimeout
.com.suprnation.actor.fsm
to match the main package.