Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Cast use of StreamSubscription.cancel result through dynamic #105

Merged
merged 1 commit into from
Mar 13, 2020

Conversation

leafpetersen
Copy link
Contributor

The breaking change described here changes the return type of StreamSubscription.cancel to Future<void> to make it clear that the result value is not intended to be meaningful. Code that chooses to rely on the return value must now cast through dynamic.

@leafpetersen leafpetersen merged commit c0985d1 into master Mar 13, 2020
@leafpetersen leafpetersen deleted the cancel branch March 13, 2020 22:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

3 participants