mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 08:43:02 +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
|
var moduleName: String = javaClass.simpleName
|
||||||
|
|
||||||
interface Running<T : RunningFlowContext> {
|
interface Running<T : RunningFlowContext> {
|
||||||
|
|
||||||
fun execute(context: T)
|
fun execute(context: T)
|
||||||
|
|
||||||
|
fun order(): Int
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Sub<I, O> {
|
interface Sub<I, O> {
|
||||||
|
|||||||
Reference in New Issue
Block a user