Skip to content
Query.Farm
Talk with Us

Re-exported from vgi-rpc

On this page

These names are importable from @query-farm/vgi but declared in @query-farm/vgi-rpc, the transport layer underneath. They are listed here so a lookup lands somewhere; the authority for their behaviour is vgi-rpcโ€™s own reference.

vgi-rpc-typescript/dist/auth.d.ts

  • AuthContext โ€” Authentication context available to RPC handlers.

vgi-rpc-typescript/dist/client/connect.d.ts

  • httpConnect โ€” Connect to a vgi-rpc server over HTTP. The returned client lazily introspects
  • RpcClient โ€” A connected RPC client, returned by {@link httpConnect}, {@link pipeConnect }, and {@link subprocessConnect }.

vgi-rpc-typescript/dist/client/pipe.d.ts

  • subprocessConnect โ€” Spawn a server process (via Bun.spawn) and connect to it over its

vgi-rpc-typescript/dist/client/tcp.d.ts

  • tcpConnect โ€” Connect to a vgi-rpc server over a raw TCP socket and wrap it with

vgi-rpc-typescript/dist/client/types.d.ts

  • LogMessage โ€” A log or error message delivered to an {@link HttpConnectOptions.onLog} callback.
  • StreamSession โ€” A live streaming method call. Exchange methods drive the server with

vgi-rpc-typescript/dist/schema.d.ts

  • bool โ€” Apache Arrow Bool type. Use as schema shorthand: { flag: bool }
  • bytes โ€” Apache Arrow Binary type. Use as schema shorthand: { data: bytes }
  • float โ€” Apache Arrow Float64 type. Use as schema shorthand: { value: float }
  • float32 โ€” Apache Arrow Float32 type. Use as schema shorthand: { value: float32 }
  • int โ€” Apache Arrow Int64 type. Use as schema shorthand: { count: int }
  • int32 โ€” Apache Arrow Int32 type. Use as schema shorthand: { count: int32 }
  • str โ€” Apache Arrow Utf8 type. Use as schema shorthand: { name: str }
  • toSchema โ€” Convert a SchemaLike spec into a real VgiSchema.

vgi-rpc-typescript/dist/types.d.ts

  • OutputCollector โ€” Accumulates output batches during a produce/exchange call.