supabase / supabase-flutter

Flutter integration for Supabase. This package makes it simple for developers to build secure and scalable products.
https://supabase.com/
MIT License
703 stars 167 forks source link

Add support for aborting/canceling requests #898

Open Dev-Salem opened 5 months ago

Dev-Salem commented 5 months ago

Is your feature request related to a problem? Please describe. It's a common use case to cancel/abort a query when it's no longer needed (e.g user scrolling fast in a paginated list, or user leaving the page/ closing a dialog before the query returns). Describe the solution you'd like Add support to cancel requests just like the JS Library

Vedsaga commented 4 months ago

Assuming http quest need to be cancelled, which unfortunately is not yet supported officially in http package to abort/cancel the http request Design an API to support aborting requests.