CancelTaskResponseBuilder
DSL builder for CancelTaskResponse.
Example usage:
val response = cancelTaskResponse {
id = myRequestId
result = myTask
}Content copied to clipboard
Properties
Functions
Link copied to clipboard
Builds a CancelTaskResponse 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.