Search packages, repositories and app categories

Package detailsv2.13.1

async

Utility functions and classes related to the 'dart:async' library.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
15.7M
Likes
637
Pub points
150

Install package

flutter pub add async

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The async package provides utility functions and classes that extend Dart's built-in 'dart:async' library, enhancing asynchronous programming with additional tools for handling futures, streams, and concurrency. It offers conveniences like async/await helpers, stream combinators, and improved error handling, making complex asynchronous workflows more manageable and readable. Designed by dart.dev, it integrates seamlessly with Flutter and Dart applications across all major platforms.

Use cases

  • Handling complex async workflows
  • Simplifying stream transformations
  • Improving error handling in async code
  • Building reactive UIs with streams
  • Managing concurrent operations
  • Enhancing testability of async logic

Key features

  • Extended stream and future utilities
  • Convenience methods for async operations
  • Improved error propagation
  • Cross-platform compatibility
  • Lightweight and dependency-free
  • Complements core Dart async features

Suitable for

  • Developers working with complex async logic
  • Flutter apps requiring robust stream management
  • Teams prioritizing clean, maintainable async code
  • Educational projects learning async patterns
  • Projects targeting multiple platforms

Considerations

  • Requires Dart SDK with async support
  • May duplicate functionality in newer Dart versions
  • Best used alongside core Dart libraries
  • Not needed for basic async operations
  • Limited to async-related enhancements
  • No runtime performance overhead

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Overview

This repository is home to various Dart packages under the dart.dev publisher.

Packages

Package Description Issues Version
args Library for defining parsers for parsing raw command-line arguments into a set of options and values using GNU and POSIX style options. issues pub package
async Utility functions and classes related to the 'dart:async' library. issues pub package
characters String replacement with operations that are Unicode/grapheme cluster aware. issues pub package
collection Collections and utilities functions and classes related to collections. issues pub package
convert Utilities for converting between data representations. Provides a number of Sink, Codec, Decoder, and Encoder types. issues pub package
crypto Implementations of SHA, MD5, and HMAC cryptographic functions. issues pub package
fixnum Library for 32- and 64-bit signed fixed-width integers with consistent behavior between native and JS runtimes. issues pub package
lints Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team. issues pub package
logging Provides APIs for debugging and error logging, similar to loggers in other languages, such as the Closure JS Logger and java.util.logging.Logger. issues pub package
os_detect Platform independent OS detection. issues pub package
path A string-based path manipulation library. issues pub package
platform A pluggable, mockable platform information abstraction for Dart. issues pub package
typed_data Utility functions and classes related to the dart:typed_data library. issues pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.

Categories

Dependencies

Dependency list 2 items

Source repository

Projects using this package