Type Alias: IngestionTransportFactory
type IngestionTransportFactory = (sink: EventSink) => Transport | Promise<Transport>;
Defined in: livelink.clients/livelink.agent/sources/data/SceneIngestion.ts:52
Builds a Transport bound to the ingestion, for a source a TransportSpec cannot describe.
Reach for it when you want this ingestion to own the transport's lifecycle — started lazily
with the others on the first bound session, stopped with them on stop() — but the transport is a
one-off you would rather not publish as a kind on the process-wide
defaultTransportRegistry. Register a kind instead when several ingestions (or an HTTP API)
need to name that transport; construct the transport yourself against the ingestion — it is an
EventSink — when you would rather own its start and stop.
Distinct from the registry's TransportFactory, which also takes the kind-specific config.
Parameters
| Parameter | Type |
|---|---|
sink | EventSink |