class StaticRouter<C> : Router<C>
Router that always returns the same result
step
- The next step that this router should return
StaticRouter(step: String?)
Router that always returns the same result |
fun route(context: C): String?
Function that returns the next step, or null if this is supposed to be the last step |