(make-scheduler dispatch clock)
DEPRECATED: Use make-store-scheduler
instead.
If we are scheduling events, we must be saving them somewhere, implying that we have a store. make-store-scheduler is a neater combination of those responsibilities: transition and save.
DEPRECATED: Use [[make-store-scheduler]] instead. If we are scheduling events, we must be saving them somewhere, implying that we have a store. make-store-scheduler is a neater combination of those responsibilities: transition and save.
(make-store-scheduler store clock)
Returns a scheduler that can be used to [[statecharts.delayed/schedule]] events
afer some delay. The store
, which is a statecharts.store/IStore
contains the
current values of the states, and will be updated as those states are
transitioned by the scheduled events. The clock
is part of the delay
mechanism.
Returns a scheduler that can be used to [[statecharts.delayed/schedule]] events afer some delay. The `store`, which is a `statecharts.store/IStore` contains the current values of the states, and will be updated as those states are transitioned by the scheduled events. The `clock` is part of the delay mechanism.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close