the app alias or identifier.
the connection handler.
ExperimentalOpen a model-specific realtime session with an explicitly supplied extension. This form preserves the extension's options and session types.
Returns the managed session SYNCHRONOUSLY, in state "opening", while negotiation starts
eagerly behind it — the caller holds a usable handle immediately, send() queues until the
session is live, and failures arrive through onError and onState("failed"). Await
session.ready for the promise-style call site; misconfiguration (no endpoint, an endpoint
the extension rejects) still throws synchronously.
The fal.realtime.open() extension API is experimental and may change in a minor release.
Connect to the realtime endpoint. The default implementation uses WebSockets to connect to fal function endpoints that support WSS.