#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

#330 in Asynchronous

Download history 578/week @ 2024-01-09 642/week @ 2024-01-16 917/week @ 2024-01-23 747/week @ 2024-01-30 1123/week @ 2024-02-06 517/week @ 2024-02-13 517/week @ 2024-02-20 613/week @ 2024-02-27 651/week @ 2024-03-05 644/week @ 2024-03-12 1088/week @ 2024-03-19 735/week @ 2024-03-26 493/week @ 2024-04-02 722/week @ 2024-04-09 691/week @ 2024-04-16 584/week @ 2024-04-23

2,560 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

~71KB