Defined in: packages/db/src/types.ts:1187
Something that reads a Collection, as listed by collection.subscribers: a live query, an Effect, or a direct subscription.
readonly active: boolean;Defined in: packages/db/src/types.ts:1196
Whether something still reads through this dependent: an Effect or a subscription always does; a live query does while it has a subscriber. cleanup() refuses only while an active live query or Effect remains.
readonly optional collection: Collection<any, any, any, any, any>;Defined in: packages/db/src/types.ts:1190
A live query's Collection; a pooled live query has none.
end: () => Promise<void>;Defined in: packages/db/src/types.ts:1201
End this dependent: clean up the live query with its own dependents, dispose the Effect, or end the subscription.
Promise<void>
readonly kind: "live-query" | "effect" | "subscription";Defined in: packages/db/src/types.ts:1188