#persistence #records #back-end #store #run-time #recording #waiting

async-recorder

Store records without waiting for your persistence backend

5 unstable releases

0.3.1 May 4, 2023
0.3.0 Apr 30, 2023
0.2.0 Apr 28, 2023
0.1.2 Apr 28, 2023
0.1.1 Apr 27, 2023

#858 in Asynchronous

Download history 151/week @ 2024-11-08 122/week @ 2024-11-15 115/week @ 2024-11-22 75/week @ 2024-11-29 101/week @ 2024-12-06 178/week @ 2024-12-13 67/week @ 2024-12-20 124/week @ 2024-12-27 208/week @ 2025-01-03 97/week @ 2025-01-10 89/week @ 2025-01-17 151/week @ 2025-01-24 119/week @ 2025-01-31 175/week @ 2025-02-07 65/week @ 2025-02-14

376 downloads per month

MIT license

12KB
147 lines

Async Recorder

Docs Licence Crates.io

Store records without waiting for your persistence backend. Load records without blocking writes.

A Rust crate for asynchronously recording events (or any other thing) with your persistence backend in a "fire and forget" manner. This crate uses the tokio runtime for spawning and joining green threads. As such it does not work with other asynchronous runtimes, such as async-std.

Dependencies

~2.2–8MB
~61K SLoC