alwaysSucceed
inline fun <E> Task<E>.alwaysSucceed(task: Task<E>? = null, init: AlwaysSucceed<E>.() -> Unit = {}): Int
Creates and adds an AlwaysSucceed to the receiver Task.
Return
the index where the AlwaysSucceed has been added.
Parameters
task
the task to add to the AlwaysSucceed.
init
an optional inline block to configure the AlwaysSucceed.
Type Parameters
E
the type of the receiving task's blackboard.