UNPKG

@juspay/neurolink

Version:

The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002

15 lines (14 loc) • 582 B
/** * Realtime data-channel event bridge. * * The cascaded bridge (`eventBridge.ts`) is driven by NeuroLink's event emitter. */ import type { RealtimeEventBridgeHandle, RealtimeEventBridgeParams } from "../../types/index.js"; /** * Attach the realtime event bridge to a room. * * Returns `publishEvent` (worker → browser), `requestConfirmation` (HITL * round-trip), and `dispose` (remove the control listener, decline anything * still pending). */ export declare function attachRealtimeEventBridge(params: RealtimeEventBridgeParams): Promise<RealtimeEventBridgeHandle>;