async_extension 1.0.6 copy "async_extension: ^1.0.6" to clipboard
async_extension: ^1.0.6 copied to clipboard

outdated

Dart async extensions, to help usage of Future, FutureOr and async methods. Also allows performance improvements when using sync and async code.

1.0.6 #

  • New extension methods for nullable types:
    • whereNotNull
    • whereNotNullResolved
    • resolveAllNotNull
  • Fixed isResolved detection for when T is Object or dynamic.

1.0.5 #

  • The package now exports dart:async.
  • New extensions:
    • resolveWithValue
    • resolveAllWithValue
    • resolveAllThen
    • allAsList
  • Optimized some resolutions
    • Now ensures that iterables won't be iterated more than once.
    • Ensures that List and Set won't be converted to List when not needed.

1.0.4 #

  • Added AsyncLoop and AsyncSequenceLoop.

1.0.3 #

  • Added FutureOr.then.

1.0.2 #

  • Added resolveBoth for FutureOr and Future.
  • Add Future and FutureOr arithmetic operators.
  • Added Benchmarks:
    • async_extension_benchmark.dart
    • async_extension_benchmark2.dart

1.0.1 #

  • Adjusted pubspec.yaml description.
  • Added FOSSA scan and badges.

1.0.0 #

  • Initial version.
12
likes
0
pub points
79%
popularity

Publisher

unverified uploader

Dart async extensions, to help usage of Future, FutureOr and async methods. Also allows performance improvements when using sync and async code.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on async_extension