MCPcopy
hub / github.com/xintaofei/codeg / getEventStream

Function getEventStream

src/lib/platform.ts:64–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 * to attach so you bind to the currently-active transport.
63 */
64export function getEventStream(): EventStream | null {
65 const transport = getTransport()
66 const factory = transport.eventStream
67 if (!factory) return null
68 return factory.call(transport)
69}
70
71/**
72 * Open a URL in the default browser (desktop) or new tab (web).

Callers 1

AcpConnectionsProviderFunction · 0.90

Calls 2

getTransportFunction · 0.90
callMethod · 0.65

Tested by

no test coverage detected