@oneplatform/sdk / SubscriptionOptions
Interface: SubscriptionOptions¶
Defined in: packages/sdk/src/types/subscription.ts:25
Properties¶
events¶
readonlyevents:string[]
Defined in: packages/sdk/src/types/subscription.ts:30
Event patterns to subscribe to. Supports exact strings and trailing-wildcard patterns (e.g. "pipeline.*").
filter?¶
readonlyoptionalfilter?:object
Defined in: packages/sdk/src/types/subscription.ts:35
Optional server-side filter to reduce unnecessary traffic.
entityId?¶
readonlyoptionalentityId?:string
entityType?¶
readonlyoptionalentityType?:string
pipelineId?¶
readonlyoptionalpipelineId?:string
fromEventId?¶
readonlyoptionalfromEventId?:string
Defined in: packages/sdk/src/types/subscription.ts:46
Resume from a specific event ID. The server replays events after this ID within its replay window. Managed automatically by the SDK on reconnection via Last-Event-ID.