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

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

#552 in Asynchronous

Download history 131/week @ 2024-01-01 194/week @ 2024-01-08 284/week @ 2024-01-15 335/week @ 2024-01-22 278/week @ 2024-01-29 213/week @ 2024-02-05 576/week @ 2024-02-12 536/week @ 2024-02-19 261/week @ 2024-02-26 272/week @ 2024-03-04 205/week @ 2024-03-11 160/week @ 2024-03-18 112/week @ 2024-03-25 113/week @ 2024-04-01 149/week @ 2024-04-08 309/week @ 2024-04-15

687 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.3–4MB
~65K SLoC