Module: E2B::Services::LiveStreamable

Included in:
Commands, Pty
Defined in:
lib/e2b/services/live_streamable.rb

Overview

Shared live-stream handle builder for Commands and Pty.

Both services need to start a background thread that runs an envd RPC, extract the PID from the first Start event, and return a CommandHandle wired to a LiveEventStream. This module keeps that logic in one place.