rerun::external::re_grpc_server

Function serve_from_channel

Source
pub async fn serve_from_channel(
    addr: SocketAddr,
    memory_limit: MemoryLimit,
    shutdown: Shutdown,
    channel_rx: Receiver<LogMsg>,
)
Expand description

Start a Rerun server, listening on addr.

The returned future must be polled for the server to make progress.

This function additionally accepts a smart channel, through which messages can be sent to the server directly. It is similar to creating a client and sending messages through WriteMessages, but without the overhead of a localhost connection.

See serve for more information about what a Rerun server is.