mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 08:43:02 +08:00
refactor(action): remove outdated TODO comments in ActionScheduler
This commit is contained in:
@@ -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 {
|
||||
if (!schedulableAction.enabled) {
|
||||
return@launch
|
||||
|
||||
Reference in New Issue
Block a user