mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 16:53:04 +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 {
|
fun schedule(input: Set<Schedulable>) = schedulerScope.launch {
|
||||||
for (schedulableData in input) {
|
for (schedulableData in input) {
|
||||||
if (!schedulableData.enabled) {
|
if (!schedulableData.enabled) {
|
||||||
|
|||||||
Reference in New Issue
Block a user