tricycle / system-actor-model / System.Process

A Process in the context of this package represents a spawned/active Actor.

Each Process gets assigned an unique identifier (PID). The PID also holds information about who spawned, or started, the process.

ProcessIDentifier


type alias PID =
System.Internal.PID.PID

Helpers

equals : PID -> PID -> Basics.Bool

Check if two PIDs are identical.

pidToInt : PID -> Basics.Int

Represent a PID as an Int

pidToString : PID -> String

Represent a PID as a String

pidSpawnedBy : PID -> PID

Get the PID responsible for spawing the given PID