Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: improved interface of cancellable tile loading #1941

Closed
wants to merge 1 commit into from

Conversation

JaffaKetchup
Copy link
Member

@JaffaKetchup JaffaKetchup commented Aug 5, 2024

This is probably how I should've implemented it in the first place back in #1622 - it's a much better interface and wouldn't have been breaking. However, it's too late now, so I've opened this as draft.

dart-lang/http#978 has been re-opened. I'm hopeful it will get merged at some point. If it does, we will want to more strongly enforce the cancellable mechanisms, and maybe that will be a good time to switch to an implementation like this.

Added `CancellableTileLoadingSupport` mixin on `TileProvider` with cancellable support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant