summaryrefslogtreecommitdiff
path: root/opendc-common/src/main/java/org/opendc/common/Dispatcher.java
AgeCommit message (Collapse)Author
2022-11-09feat(common): Add common dispatcher interfaceFabian Mastenbroek
This change adds a new interface `Dispatcher` that is used throughout OpenDC for scheduling the execution of future tasks. This replaces the `CoroutineContext` and `Clock` that exist on many of the implementations in OpenDC. With this approach, we reduce the dependency on Kotlin Coroutines.