mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 08:43:02 +08:00
chore(action): add refactor todos in ActionScheduler
This commit is contained in:
@@ -79,6 +79,8 @@ class ActionScheduler : AbstractAgentModule.Standalone() {
|
||||
})
|
||||
}
|
||||
|
||||
// TODO any implementations of Action should be record into ActionCore
|
||||
// TODO the method in ActionCapability should be compatible with different Action types
|
||||
fun schedule(input: Set<Schedulable>) = schedulerScope.launch {
|
||||
for (schedulableData in input) {
|
||||
if (!schedulableData.enabled) {
|
||||
|
||||
Reference in New Issue
Block a user