onReturn(value:)
Invoked when the distributed target execution returns successfully. The value is the return value of the executed distributed invocation target.
Declaration
func onReturn<Success>(value: Success) async throwsSerialization Requirement
Implementations of this method must ensure that the Success type parameter conforms to the types’ SerializationRequirement.