RpcElixir (elixir_ts_rpc v0.0.2)

Copy Markdown View Source

Elixir server library for elixir-ts-rpc — a typed RPC layer between Elixir and TypeScript. Pre-1.0, so APIs may change. Start with Getting started.

Type sources

Types come from a compiled module's BEAM debug info. No compile-time macro is required. Two backends exist:

See the README and Supported types.

Summary

Functions

In-process caller for tests and server-to-server invocations.

Functions

call(router, path, input, ctx \\ %Context{})

In-process caller for tests and server-to-server invocations.

Builds a minimal %Resolution{} from path and ctx. Dispatches it, then returns the resolution's :result.