TestIODevice (anubis_mcp v1.6.1)
Copy MarkdownMinimal Erlang IO-protocol server for exercising Anubis.Server.Transport.STDIO in tests.
Read requests are intentionally never replied to, so a reader task blocks forever
instead of seeing :eof — this mirrors a live stdin while keeping tests deterministic.
Write requests are buffered and can be retrieved via contents/1.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec contents(GenServer.server()) :: binary()
@spec start_link(keyword()) :: GenServer.on_start()