• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-flutter / 29094527665 / 2
87%
main: 87%

Build:
DEFAULT BRANCH: main
Ran 10 Jul 2026 01:06PM UTC
Files 28
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Jul 2026 01:01PM UTC coverage: 86.47%. Remained the same
29094527665.2

push

github

web-flow
feat(postgrest): abort requests (#1368)

## What kind of change does this PR introduce?

feature

## What is the current behavior?

One cannot abort a started http request. Even by adding a `.timeout` to
the feature only ignores the result of the future but does not cancel
its execution.

## What is the new behavior?

Starting with `http` v1.5.0` it is now possible to abort requests.

```dart
final abortCompleter = Completer<void>();
Timer(Duration(seconds: 5), () => abortCompleter.complete());
try {
  final response = await client
  .from('table')
  .select()
  .abortCompleter(abortCompleter);
} on RequestAbortedException catch (e) {
 print('Request was aborted: $e');
}
```

Supabase-js uses `.abortSignal`, but since the dart implementation uses
futures/completer I switched to `.abortCompleter`. But I'm not entirely
sure and open for discussion about choosing a different name.

related: #898 
The issue covers the general feature to abort requests, so we can cover
aborting the requests in functions in another pr.

1668 of 1929 relevant lines covered (86.47%)

4.86 hits per line

Source Files on job gotrue - 29094527665.2
  • Tree
  • List 28
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29094527665
  • c267e4fa on github
  • Prev Job for on main (#29081780486.9)
  • Next Job for on main (#29099122685.7)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc