onReturnVoid
TypeScriptonReturnVoid(): Promise<void>Swift declarationfunc onReturnVoid() async throwsInvoked when the distributed target execution of a `Void` returning function has completed successfully.
struct · iOS 16.0+ · SDK 27.1
struct LocalTestingInvocationResultHandleronReturnVoid(): Promise<void>Swift declarationfunc onReturnVoid() async throwsInvoked when the distributed target execution of a `Void` returning function has completed successfully.
onThrow(error: NativeError): Promise<void>Swift declarationfunc onThrow<Err>(error: Err) async throws where Err : ErrorInvoked when the distributed target execution of a target has thrown an error. It is not guaranteed that the error conform to the ``SerializationRequirement``; This guarantee is only given to return values (and offered by `onReturn`).
onReturn(value: number): Promise<void>Swift declarationfunc onReturn<Success>(value: Success) async throws where Success : Decodable, Success : EncodableInvoked when the distributed target execution returns successfully. The `value` is the return value of the executed distributed invocation target. ### Serialization Requirement Implementations of this method must ensure that the `Success` type parameter conforms to the types' `SerializationRequirement`.
No declarations were skipped in this snapshot.