interface Router<C>
Used to select the next step in a workflow
abstract fun route(context: C): String?
Function that returns the next step, or null if this is supposed to be the last step |
class StaticRouter<C> : Router<C>
Router that always returns the same result |