Task
fun <T : Any> Task(resultType: KType, descriptor: MetaDescriptor? = null, builder: suspend TaskResultBuilder<T>.() -> Unit): Task<T>
Content copied to clipboard
Create a Task that composes a result using builder. Only data from the workspace could be used. Data dependency cycles are not allowed.
Parameters
resultType
the type boundary for data produced by this task
descriptor
of meta accepted by this task
builder
for resulting data set
inline fun <T : Any> Task(descriptor: MetaDescriptor? = null, noinline builder: suspend TaskResultBuilder<T>.() -> Unit): Task<T>
Content copied to clipboard