Crate cobalt_async

Source
Expand description

§The Cobalt Async wrapper library

This library provides a collection of helpful functions for working with async Rust.

§About harrison.ai

This crate is maintained by the Data Engineering team at harrison.ai.

At harrison.ai our mission is to create AI-as-a-medical-device solutions through ventures and ultimately improve the standard of healthcare for 1 million lives every day.

Modules§

checksumchecksum
Module for checksum calculation.
counter
Module holding utilities related to counts of bytes passed to AsyncWrite.

Enums§

ChunkResult
The return value of chunker functions used with apply_chunker.

Functions§

apply_chunker
Converts a Stream of type T to a Stream of type Chunk by applying the function chunker to each item in the stream in turn.
try_apply_chunker
Converts a TryStream of type T to a TryStream of type Chunk by applying the function chunker to each item in the stream in turn.
try_finally
An approximation of a “try/finally” block for async Result-returning code.