GetTaskResponseBuilder

DSL builder for GetTaskResponse.

Example usage:

val response = getTaskResponse {
id = myRequestId
result = myTask
}

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var result: Task?

Functions

Link copied to clipboard

Builds a GetTaskResponse instance with the configured parameters.

Link copied to clipboard

Sets the error.

Link copied to clipboard

Sets the ID of the response.

Link copied to clipboard

Sets the result task.

Configures the result task using a Java-friendly Consumer.

Configures the result task using a lambda with receiver.