Function wasix::bus_open_remote

source ·
pub unsafe fn bus_open_remote(
    name: &str,
    reuse: Bool,
    instance: &str,
    token: &str
) -> Result<Bid, BusError>
Expand description

Spawns a new bus process for a particular web WebAssembly binary that is referenced by its process name on a remote instance.

Parameters

  • name - Name of the process to be spawned
  • reuse - Indicates if the existing processes should be reused if they are already running
  • instance - Instance identifier where this process will be spawned
  • token - Acceess token used to authenticate with the instance

Return

Returns a bus process id that can be used to invoke calls