Contents

DistributedTargetInvocationResultHandler

Protocol a distributed invocation execution’s result handler.

Declaration

protocol DistributedTargetInvocationResultHandler<SerializationRequirement>

Overview

An instance conforming to this type must be passed when invoking executeDistributedTarget(on:target:invocationDecoder:handler:) while handling an incoming distributed call.

The handler will then be invoked with the return value (or error) that the invoked target returned (or threw).

Topics

Associated Types

Instance Methods

See Also

Remote Calls