Skip to main content

GrpcViewFunctionCallOutputs

data class GrpcViewFunctionCallOutputs(var returnValues: List<GrpcCommandOutput>?, var executionError: GrpcSimulatedExecutionError?) : Disposable

The outputs of a Move view function call.

Exactly one of return_values and execution_error is populated when the read mask includes execution_result: the first if the call returned, the second if it aborted.

Constructors​

GrpcViewFunctionCallOutputsconstructor(returnValues: List<GrpcCommandOutput>?, executionError: GrpcSimulatedExecutionError?)

Properties​

NameSummary
executionErrorvar executionError: GrpcSimulatedExecutionError?
Why the call aborted.
returnValuesvar returnValues: List<GrpcCommandOutput>?
The values the function returned.

Functions​

NameSummary
destroyopen override fun destroy()