Get the latest tech news

Show HN: Rust macro utility for batching expensive async operations


rust macro util for batching expensive operations. Contribute to hackermondev/batched development by creating an account on GitHub.

window[x]: Minimum amount of time (in milliseconds) the background thread waits before processing a batch when latest buffer size is <= x This feature automatically adds tracing spans to call functions for batched requests ( x, x_multiple). This feature adds support for linking spans from callers to the inner batched call when using OpenTelemetry.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Rust macro utility

Rust macro utility