Current section
Files
Jump to
Current section
Files
include/mcp_toolkit@transport@interface_TransportInterface.hrl
-record(transport_interface, {
send :: fun((mcp_toolkit@transport@interface:transport_message()) -> {ok,
nil} |
{error, binary()}),
'receive' :: fun(() -> {ok,
mcp_toolkit@transport@interface:transport_event()} |
{error, binary()}),
start :: fun(() -> {ok,
gleam@erlang@process:subject(mcp_toolkit@transport@interface:transport_event())} |
{error, binary()}),
stop :: fun(() -> {ok, nil} | {error, binary()})
}).