pausable_stream_iterable 1.0.1 copy "pausable_stream_iterable: ^1.0.1" to clipboard
pausable_stream_iterable: ^1.0.1 copied to clipboard

Pause a single-subscription Stream<Iterable<T>> on each non-empty emitted Iterable, resuming once it has been consumed down to its last element.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pausable_stream_iterable

With Flutter:

 $ flutter pub add pausable_stream_iterable

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  pausable_stream_iterable: ^1.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:pausable_stream_iterable/pausable_stream_iterable.dart';
0
likes
160
points
52
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pause a single-subscription Stream<Iterable<T>> on each non-empty emitted Iterable, resuming once it has been consumed down to its last element.

Repository (GitHub)
View/report issues

Topics

#streams #iterable #pagination #async

License

BSD-3-Clause (license)

Dependencies

async, rxdart

More

Packages that depend on pausable_stream_iterable