Filter a lifecycle StreamChannel to only the entries whose namespace lies within the subtree rooted at path.
Returns an AsyncIterable whose iterator yields every entry whose
namespace either equals path or is a descendant of it.
Iteration begins at startAt, so callers can capture the
log's current size at construction time to skip entries emitted
before the caller existed (e.g. a subgraph stream discovered
mid-run shouldn't replay the root's started).
filterLifecycleEntries(
log: EventLog<LifecycleEntry>,
path: Namespace,
startAt: number = 0
): AsyncIterable<LifecycleEntry>| Name | Type | Description |
|---|---|---|
log* | EventLog<LifecycleEntry> | The shared lifecycle log owned by the transformer. |
path* | Namespace | Namespace prefix to scope entries by (use |
startAt | number | Default: 0Zero-based index into the log to begin from. |