Quic.Runtime.IO behaviour (elixir_quic v0.16.7)

Copy Markdown View Source

Legacy behaviour for externally owned sockets and deterministic tests. Successful sends return actual completion time in monotonic microseconds, matching Quic.IO.

Summary

Callbacks

monotonic_time()

@callback monotonic_time() :: integer()

send(term, binary, term)

@callback send(term(), binary(), term()) :: {:ok, integer()} | {:error, term()}