refactor(action): remove outdated TODO comments in ActionScheduler

This commit is contained in:
2026-03-20 23:16:57 +08:00
parent f7d46c8ef1
commit 809d38bd07

View File

@@ -84,8 +84,6 @@ 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 <T> schedule(schedulableAction: T) where T : Action, T : Schedulable = schedulerScope.launch { fun <T> schedule(schedulableAction: T) where T : Action, T : Schedulable = schedulerScope.launch {
if (!schedulableAction.enabled) { if (!schedulableAction.enabled) {
return@launch return@launch