AsyncTransitionRules

class AsyncTransitionRules<S, E, C, A, R>(val guardedTransitions: MutableList<AsyncGuardedTransition<S, E, C, A, R>> = mutableListOf(), transition: SimpleAsyncTransition<S, E, C, A, R>? = null)

Constructors

Link copied to clipboard
constructor(guardedTransitions: MutableList<AsyncGuardedTransition<S, E, C, A, R>> = mutableListOf(), transition: SimpleAsyncTransition<S, E, C, A, R>? = null)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun addGuarded(guardedTransition: AsyncGuardedTransition<S, E, C, A, R>)

Add a guarded transition to the end of the list

Link copied to clipboard
fun findGuard(context: C, arg: A? = null): AsyncGuardedTransition<S, E, C, A, R>?

Find the first entry in the list of guarded transitions that match/