Skip to main content

execute_remote_call

Function execute_remote_call 

Source
pub fn execute_remote_call(
    request: RemoteCallRequest,
    store: &SnapshotStore,
) -> RemoteCallResponse
Expand description

Execute a remote call request on this machine.

This is the entry point for the receiving side. It:

  1. Reconstructs the BytecodeProgram and populates its TypeSchemaRegistry
  2. Creates a full VirtualMachine with the program
  3. Converts serialized arguments back to ValueWord
  4. Calls the function by name or ID
  5. Converts the result back to SerializableVMValue

The store is used for SerializableVMValueValueWord conversion (needed for BlobRef-backed values like DataTable).