awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
apple avatar

apple/swift-async-algorithms

0
View on GitHub↗
3,680 星标·210 分支·Swift·Apache-2.0·8 次浏览

Swift Async Algorithms

This project is a library of algorithms for transforming, filtering, and combining asynchronous data streams in Swift. It provides a toolkit for managing asynchronous sequences, offering a concurrent sequence processor to merge, zip, and concatenate multiple streams into single outputs.

The library distinguishes itself through specialized timing and flow control mechanisms. It implements asynchronous back-pressure to synchronize producer and consumer speeds and provides a toolkit for event timing, including debouncing, throttling, and the generation of periodic timers.

The capability surface extends to comprehensive data transformation and stream coordination. This includes utilities for buffering, chunking, and filtering sequences, as well as mechanisms for inter-task communication and the conversion of synchronous sequences into asynchronous streams.

Features

  • Asynchronous Data Streaming - Offers a comprehensive toolkit for transforming, filtering, and processing asynchronous data streams.
  • Back-pressure Handling - Implements back-pressure mechanisms to synchronize producer and consumer speeds and prevent memory exhaustion.
  • Asynchronous Streams - Combines multiple asynchronous data streams of the same type into a single sequence delivering elements as available.
  • Stream Composition - Provides utilities to wrap and transform asynchronous streams while maintaining lazy evaluation.
  • Async Sequence Libraries - Implements a comprehensive collection of algorithms for transforming, filtering, and combining asynchronous data streams in Swift.
  • Timing Control - Provides periodic timers and rate-limiting mechanisms like debouncing and throttling for asynchronous events.
  • Concurrency Communication - Enables value exchange between producer and consumer tasks using asynchronous sequences with back-pressure.
  • Concurrent Sequence Processing - Provides a processor to merge, zip, and concatenate multiple asynchronous sequences into single streams.
  • Sequence Throttling - Limits the rate of emitted values by ensuring a minimum time interval elapses between elements.
  • Event Debouncing - Implements a functional reactive primitive to delay event emission until a period of inactivity has elapsed.
  • Concurrent Stream Merging - Coordinates multiple asynchronous producers into a single output stream by awaiting values from multiple sources.
  • Time-Based Event Scheduling - Provides an abstract clock mechanism for triggering timed events and interval-based emissions.
  • Timed Interval Generators - Provides utilities to generate asynchronous streams that emit values repeatedly at defined time intervals.
  • Asynchronous Stream Buffering - Collects elements from a stream into temporary storage to handle data bursts or group elements.
  • Stateful Stream Processing - Maintains internal state, buffers, and timers to enable stateful transformations like debouncing and throttling.
  • Sequence Transformations - Provides algorithms for mapping, filtering, and transforming asynchronous sequences into other sequences.
  • Sequence Concatenation - Flattens a sequence of sequences into a single stream by processing each inner sequence completely.
  • Stream Timing Coordination - Coordinates the timing and merging of multiple asynchronous streams to synchronize value delivery.
  • Inter-Task Message Queues - Facilitates communication between concurrent tasks using asynchronous sequences and reference-type channels.
  • Asynchronous Byte Sequence Iteration - Iterates over byte sequences using efficient memory management to minimize overhead during asynchronous reads.
  • AsyncSequence Algorithm Specializations - Implements common data manipulation patterns using Swift generics to support any type conforming to AsyncSequence.
  • Stream Buffering - Provides buffering mechanisms to collect stream elements into chunks to manage data bursts and memory.
  • Reactive Value Combinations - Provides operators to combine multiple asynchronous reactive value sources into single derived streams.

Star 历史

apple/swift-async-algorithms 的 Star 历史图表apple/swift-async-algorithms 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Swift Async Algorithms 的开源替代方案

相似的开源项目,按与 Swift Async Algorithms 的功能重合度排序。
  • baconjs/bacon.jsbaconjs 的头像

    baconjs/bacon.js

    6,458在 GitHub 上查看↗

    Bacon.js is a JavaScript functional reactive programming library used for coordinating complex asynchronous data flows. It functions as an observable event stream framework and an asynchronous data flow orchestrator, allowing developers to model events as declarative streams and properties. The library distinguishes itself through its ability to manage reactive state and synchronize timing across multiple sources. It provides specialized mechanisms for atomic state synchronization to prevent glitches in derived properties and offers advanced coordination strategies such as asynchronous stream

    TypeScript
    在 GitHub 上查看↗6,458
  • reactor/reactor-corereactor 的头像

    reactor/reactor-core

    5,224在 GitHub 上查看↗

    Reactor Core is a reactive programming toolkit and non-blocking foundation for composing asynchronous data pipelines on the JVM. It serves as an asynchronous stream processing framework and a backpressure management system, allowing developers to transform, filter, and combine sequences of events while regulating data flow between producers and consumers to prevent resource exhaustion. The library differentiates itself through a sophisticated concurrency scheduling system and demand-based flow control. It decouples signal processing from specific threads using a scheduler registry and provide

    Javaasynchronousflowflux
    在 GitHub 上查看↗5,224
  • reactivex/rxpyReactiveX 的头像

    ReactiveX/RxPY

    5,014在 GitHub 上查看↗

    RxPY is a functional reactive programming library and a ReactiveX observable library for Python. It serves as an asynchronous stream processor and event-driven coordination framework used to build data pipelines that react to changes in state or streams of events over time. The library provides a toolkit for composing asynchronous and event-based programs using observable sequences and operators. It distinguishes itself through the use of configurable schedulers to manage concurrency, timing, and subscription lifecycles. The project covers a wide range of stream processing capabilities, incl

    Python
    在 GitHub 上查看↗5,014
  • dotnet/reactivedotnet 的头像

    dotnet/reactive

    7,153在 GitHub 上查看↗

    The .NET Reactive Extensions Library is a framework for composing, querying, and transforming asynchronous data streams. It provides a non-blocking implementation of the observer pattern to manage notifications and data flows between producers and consumers, functioning as an event stream processing library. The project applies LINQ-style querying and filtering operators to asynchronous sequences. This allows for the handling of event-driven programming patterns by utilizing composable operators to process notifications as they occur. The library covers asynchronous data streaming and non-bl

    C#
    在 GitHub 上查看↗7,153
查看 Swift Async Algorithms 的所有 30 个替代方案→

常见问题解答

apple/swift-async-algorithms 是做什么的?

This project is a library of algorithms for transforming, filtering, and combining asynchronous data streams in Swift. It provides a toolkit for managing asynchronous sequences, offering a concurrent sequence processor to merge, zip, and concatenate multiple streams into single outputs.

apple/swift-async-algorithms 的主要功能有哪些?

apple/swift-async-algorithms 的主要功能包括:Asynchronous Data Streaming, Back-pressure Handling, Asynchronous Streams, Stream Composition, Async Sequence Libraries, Timing Control, Concurrency Communication, Concurrent Sequence Processing。

apple/swift-async-algorithms 有哪些开源替代品?

apple/swift-async-algorithms 的开源替代品包括: baconjs/bacon.js — Bacon.js is a JavaScript functional reactive programming library used for coordinating complex asynchronous data… reactor/reactor-core — Reactor Core is a reactive programming toolkit and non-blocking foundation for composing asynchronous data pipelines… reactivex/rxpy — RxPY is a functional reactive programming library and a ReactiveX observable library for Python. It serves as an… dotnet/reactive — The .NET Reactive Extensions Library is a framework for composing, querying, and transforming asynchronous data… dabeaz/curio — Curio is a Python library for structured concurrency and asynchronous network programming. It serves as a framework… louthy/language-ext — language-ext is a functional programming framework for C# that provides a suite of immutable data structures and…