Skip to content

Documentation / @super-line/core / RouteDecision

Type Alias: RouteDecision

RouteDecision = "insert" | "update" | "left-filter" | "delete" | "skip" | "buffered"

Defined in: packages/core/src/client-tap.ts:42

Where an inbound row change landed for ONE subscription. The server delivers a change when the row crosses a connection's visibility; the client then re-filters per subscription, and that decision is unreconstructable from the wire — the same cchg frame legitimately produces a different outcome for every live subscription on the collection.

left-filter is the interesting one: the row still exists, it simply no longer matches THIS subscription's query, so it is removed here while remaining present elsewhere.

Released under the MIT License.