Expand description
Parent messaging service for child-to-parent communication within process trees.
This module provides the infrastructure for renderer and other child processes to send messages to their parent process. Messages can be:
- Data plane references (shared memory for rendered output)
- Control messages (e.g., requesting subprocess creation)
- Status notifications
The parent messenger is transport-agnostic; the actual sending is handled by the IPC session.
Re-exports§
pub use api::DataPlaneRef;pub use api::METHOD_MESSAGE_PARENT;pub use api::METHOD_PROXY_CALL;pub use api::METHOD_REQUEST_SPAWN_CHILD;pub use api::MessageToParentRequest;pub use api::MessageToParentResponse;pub use api::ParentMessage;pub use api::ParentMessageKind;pub use api::ParentMessenger;pub use api::ParentRequestContext;pub use api::ProxyCallRequest;pub use api::ProxyCallResponse;pub use api::SpawnChildRequest;pub use api::SpawnChildResponse;pub use channel::ChannelParentMessenger;pub use channel::ParentMessageEvent;pub use channel::SpawnRequestWithResponse;
Modules§
Constants§
- SERVICE_
NAME - Service name for parent-messaging operations.