npm.io
0.16.0 • Published 1 month ago

@dxos/rpc

Licence
FSL-1.1-Apache-2.0
Version
0.16.0
Deps
11
Size
484 kB
Vulns
0
Weekly
0
Stars
532

@dxos/rpc

A lightweight, transport-agnostic RPC implementation.

Features

  • Performs a handshake to wait for the other side to be open.
  • Errors are serialized and transported with their stack intact.
  • Requests are terminated on close.
  • TODO: Request timeouts.
  • TODO: Data streams.