Kettlecorn.Pid (kettlecorn v0.1.0)

Copy Markdown View Source

A process inside a guest VM.

Received in messages from the guest. It can only be used as the target of Kettlecorn.send/4 on the VM it came from (calls and casts go to registered names); sending it to another VM returns {:error, :wrong_vm}. It never becomes a host pid. Standalone Kettlecorn.ETF.decode/2 calls produce unbound handles unless given the :vm option.

Summary

Types

t()

@type t() :: %Kettlecorn.Pid{etf: binary(), vm: pid() | nil}