Skip to content

Conversation

@fenghaojiang
Copy link

Motivation

The original result from subscribe block is missing subscription id so we cannot unsubscribe it.

Solution

Adding the subscription id

Copy link
Contributor

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm not convinced we should return the local id here, and it is also a breaking change. i propose two ways forward: either we unsubscribe on drop automatically, or we add a getter on SubFullBlocks that can get you the local id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants