mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 16:53:04 +08:00
refactor(framework): add order() to AbstractAgentModule.Running contract
This commit is contained in:
@@ -17,7 +17,10 @@ abstract class AbstractAgentModule {
|
||||
var moduleName: String = javaClass.simpleName
|
||||
|
||||
interface Running<T : RunningFlowContext> {
|
||||
|
||||
fun execute(context: T)
|
||||
|
||||
fun order(): Int
|
||||
}
|
||||
|
||||
interface Sub<I, O> {
|
||||
|
||||
Reference in New Issue
Block a user