Skip to content

IncomingMessage

🛈 DocStrings

Represents an incoming message with its status, result, and error.

Source code in src/aclientp/task/state.py
@dataclass(slots=True)
class IncomingMessage:
    """Represents an incoming message with its status, result, and error."""

    method: str
    params: Any
    status: Literal["completed", "failed", "pending"] = "pending"
    result: Any = None
    error: Any = None

:fa-brands-github: Show source on GitHub