result

Sets the result task.

Return

This builder instance for method chaining.

Parameters

result

The task result.


Configures the result task using a lambda with receiver.

Return

This builder instance for method chaining.

Parameters

init

The lambda to configure the task.


Configures the result task using a Java-friendly Consumer.

Return

This builder instance for method chaining.

Parameters

init

The consumer to configure the task.