Coordinator

abstract class Coordinator(initialRoute: IRoute, defaultTransition: IRouteTransition = DefaultTransition)

An abstraction of Router to protect against direct utilization of router methods. Coordinators act as the mediator between interactors and a router.

Constructors

Link copied to clipboard
constructor(initialRoute: IRoute, defaultTransition: IRouteTransition = DefaultTransition)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
suspend fun <T : Any> transactionWithResult(resultType: KClass<T>, ignoreTransitionLock: Boolean = false, transaction: IRouterTransactionScope.() -> Unit): Outcome<T, RouteResultError>