Skip to content

Kathara.foundation.manager.exec_stream.IExecStream

tcaiazzi edited this page Jul 29, 2025 · 1 revision

module Kathara.foundation.manager.exec_stream.IExecStream


class IExecStream

Interface for handling the commands stream exec

Attributes:

  • _stream (Generator): The generator yielding the output of the stream exec.
  • _stream_api_object (Any): The specific API object to interact with the underlying stream.

method IExecStream.__init__

__init__(stream: Generator, stream_api_object: Any) → None

method IExecStream.exit_code

exit_code() → int

Return the exit code of the execution.

Returns:

  • int: The exit code of the execution.

method IExecStream.stream_next

stream_next() → Iterator

Return the next element from the stream.

Returns:

  • Iterator: The output iterator from the stream.

This file was automatically generated via lazydocs.

Clone this wiki locally