rpc

fun rpc(actor: Actor, trace: Trace = Trace.newInstance(), externalTrace: Trace? = null, impersonatedActor: Actor? = null, arguments: List<Any?> = emptyList(), serializedTelemetry: SerializedTelemetry? = null): InvocationContext

Creates an InvocationContext with InvocationOrigin.RPC origin.