Expand description
Generic workspace runner.
This module provides a reusable WorkspaceRunner which encapsulates the
IPC event loop for:
- binding an IPC socket listener
- accepting and handshaking child connections
- routing child-to-parent messages into a workspace loop
- handling spawn requests from children
- requesting graceful shutdown of the workspace process tree
It runs the workspace’s Workspace::run concurrently with this IPC loop.
Modules§
- cli
- CLI argument parsing for child subprocess launcher modes.
- process
- Process execution, environment setup, and child handle lifecycle.
- workspace_
runtime - Workspace runtime loop supervising child processes and IPC services.
Structs§
- Spawn
Requester - Identifies the sender of a spawn request.
- Workspace
Runner - Encapsulates the workspace’s main event loop and lifecycle management.
- Workspace
Runner Config - Configuration for the workspace runner.
- Workspace
Services - Container for singleton service dependencies injected into a workspace.
- Workspace
Stats - Statistics collected during workspace execution.
Enums§
- Spawn
Request Decision - Decision returned by a workspace when evaluating a spawn request.
Traits§
- Workspace
- Workspace behavior that can be plugged into
WorkspaceRunner. - Workspace
Ext - Extension trait providing ergonomic service access for workspaces.