simplify state handling around resume

This commit is contained in:
Stephen C. Gilardi 2015-11-06 23:04:45 -05:00
parent 4a3d951568
commit e77fc53e53
1 changed files with 1 additions and 6 deletions

View File

@ -156,12 +156,7 @@
[:scheduled #(-run-next-tick this)])
;; event processing is paused - probably by :flush-dom metadata
[:paused :add-event ] [:paused #(-add-event this arg)]
;; processing the event that caused the queue to be paused
[:resuming :add-event ] [:resuming #(-add-event this arg)]
[:resuming :exception ] [:quiescent #(-exception this arg)]
[:resuming :finish-resume] [:running #(-run-queue this)]
[:paused :add-event] [:paused #(-add-event this arg)]
[:paused :resume ] [:running #(-resume this)]
(throw (str "re-frame: state transition not found. " fsm-state " " trigger)))]