dynamicGuardSelector

inline fun <E> Task<E>.dynamicGuardSelector(tasks: Array<Task<E>> = Array(), init: DynamicGuardSelector<E>.() -> Unit = {}): Int

Creates and adds a DynamicGuardSelector to the receiver Task.

Return

the index where the DynamicGuardSelector has been added.

Parameters

tasks

the children of the DynamicGuardSelector.

init

an optional inline block to configure the DynamicGuardSelector.

Type Parameters

E

the type of the receiving task's blackboard.