what to do about discontinuities
Closed this issue · 1 comments
cprice404 commented
what to do about discontinuities
anitarua commented
We discussed with Kenny and determined we'll eventually have two subscribe methods:
- The basic
subscribe
method will return only values (string or binary), meaning we can remove theDiscontinuity
type and a pattern matching layer from the Rust SDK for now - The advanced method (to be named) that will return
SubscriptionItem
s that include values, discontinuities, heartbeats, etc future messages we want to return
Side note: we may want to audit our SDKs to see which subscriptions are callback-based (in which case this isn't a problem) and which are iterator-based (which use enums that we may need to change in future)