A caller-owned duplex byte stream. Its adapter must allow one reader and one writer concurrently. Read and write must respect the specified byte limits and deadline. Write EOF leaves the read direction available.
Summary
Types
Callbacks
@callback close(term()) :: :ok
@callback recv(term(), pos_integer(), integer()) :: {:ok, nonempty_binary()} | :eof | {:error, term()}