invert

inline fun <E> Task<E>.invert(task: Task<E>? = null, init: Invert<E>.() -> Unit = {}): Int

Creates and adds an Invert to the receiver Task.

Return

the index where the Invert has been added.

Parameters

E

the type of the receiving task's blackboard.

task

the task to add to the Invert.

init

an optional inline block to configure the Invert.