Rust Macro for Batching Expensive Async Operations

2025-08-17
Rust Macro for Batching Expensive Async Operations

The `batched` Rust macro efficiently handles costly asynchronous operations in batches. Users define batch size, concurrency, and windowing parameters. It supports various return types and robust error handling, making it ideal for database inserts and other I/O-bound tasks. Designed for Tokio, it integrates with OpenTelemetry for tracing and monitoring.

Development