Workiva / state_machine

Easily create a finite state machine and define legal state transitions. Listen to state entrances, departures, and transitions.
Other
61 stars 24 forks source link

Consider removing usages of Disposable in favor of `disposable` method #62

Open evanweible-wf opened 3 years ago

evanweible-wf commented 3 years ago

From https://github.com/Workiva/state_machine/issues/61#issuecomment-812258442

Since this is a fairly low-level package, it would be nice to remove any dependencies that aren't strictly necessary. Disposable is one of those, since Machine could provide that functionality via a dispose() method that is easily integrated into an API like Disposable if desired by the consumer.