-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
I'm using easyflow to manage state change in a file parser and so far it's come in quite handy. However one thing I can't figure out is why after I reach a final state, the context reports itself as terminated, but the flow engine keeps going.
Is there a recommended way to exit the entire FlowEngine when your processing is complete?
EDIT: I found a solution, for anyone looking; create your own Executor class, instantiate your EasyFlow object with it, and call shutdownNow() on the executorservice once your context terminates.
Would be nice to have something like that be a built in option though, or at least the ability to tell EasyFlow to terminate directly.
Metadata
Metadata
Assignees
Labels
No labels