process_image_async

Function process_image_async 

Source
pub async fn process_image_async(
    file_bytes: Bytes,
    format: ImageFormat,
) -> Result<ProcessingOutput, ProcessingError>
Expand description

Image processing is CPU intensive, this async variant moves the image processing to a separate thread where blocking is acceptable to prevent blocking other asynchronous tasks