#reactive #async #programming #stream #dedup #replace #batch

no-std async-rx

Utility functions for async reactive programming

4 releases

0.1.3 Aug 1, 2023
0.1.2 Jul 27, 2023
0.1.1 Jul 25, 2023
0.1.0 Jul 4, 2023

#291 in Asynchronous

Download history 601/week @ 2023-12-15 384/week @ 2023-12-22 480/week @ 2023-12-29 672/week @ 2024-01-05 592/week @ 2024-01-12 696/week @ 2024-01-19 961/week @ 2024-01-26 1013/week @ 2024-02-02 679/week @ 2024-02-09 497/week @ 2024-02-16 625/week @ 2024-02-23 647/week @ 2024-03-01 602/week @ 2024-03-08 972/week @ 2024-03-15 972/week @ 2024-03-22 494/week @ 2024-03-29

3,163 downloads per month
Used in matrix-sdk-ui

MPL-2.0 license

12KB
241 lines

async-rx

Utility functions for async reactive programming.

This crate is intentionally very small as it only provides utilities that are not already found in futures-util. It is meant as a supplement, not a replacement for the existing well-known futures crates.

Currently provided functionality:

  • StreamExt::dedup for deduplicating consecutive equal items
  • StreamExt::dedup_by_key for deduplicating consecutive items with an equal property
  • StreamExt::batch_with for flexible batching of the stream's items

lib.rs:

Utility functions for async reactive programming.

This crate is intentionally very small as it only provides utilities that are not already found in futures-util. It is meant as a supplement, not a replacement for the existing well-known futures crates.

Dependencies

~70KB