패키지, 저장소 및 앱 카테고리 검색

패키지 상세v2.13.1

async

'dart:async' 라이브러리와 관련된 유틸리티 함수 및 클래스.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
1570만
좋아요
637
Pub 점수
150

패키지 설치

flutter pub add async

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

async 패키지는 Dart의 내장된 'dart:async' 라이브러리를 확장하는 유틸리티 함수와 클래스를 제공하여, Future, 스트림 및 동시성 처리를 위한 추가 도구를 통해 비동기 프로그래밍을 강화합니다. async/await 보조 기능, 스트림 조합기, 개선된 오류 처리 등의 편의 기능을 제공하여 복잡한 비동기 워크플로우를 더 쉽게 관리하고 읽기 쉽게 만듭니다. dart.dev에서 설계되었으며, 모든 주요 플랫폼에서 Flutter 및 Dart 애플리케이션과 원활하게 통합됩니다.

사용 사례

  • 복잡한 비동기 워크플로우 처리
  • 스트림 변환 간소화
  • 비동기 코드에서 오류 처리 개선
  • 스트림을 사용한 반응형 UI 만들기
  • 동시 작업 관리
  • 비동기 로직의 테스트 가능성 향상

주요 기능

  • 확장된 스트림 및 미래 유틸리티
  • 비동기 작업을 위한 편의 메서드
  • 개선된 오류 전파
  • 크로스 플랫폼 호환성
  • 경량이며 종속성 없음
  • 핵심 Dart 비동기 기능 보완

적합한 대상

  • 복잡한 비동기 로직을 다루는 개발자
  • 강력한 스트림 관리가 필요한 Flutter 앱
  • 깨끗하고 유지보수 가능한 비동기 코드를 우선시하는 팀
  • 비동기 패턴을 배우는 교육 프로젝트
  • 다중 플랫폼을 대상으로 하는 프로젝트

고려 사항

  • 비동기 지원이 있는 Dart SDK가 필요합니다
  • 최신 Dart 버전에서 기능이 중복될 수 있습니다
  • 핵심 Dart 라이브러리와 함께 사용하는 것이 가장 좋습니다
  • 기본 비동기 작업에는 필요하지 않습니다
  • 비동기 관련 개선에 한정
  • 런타임 성능 오버헤드 없음

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

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.

카테고리

의존성

의존성 목록 2 개

소스 저장소

이 패키지를 사용하는 프로젝트