[pbs-devel] [RFC PATCH proxmox 1/4] proxmox-async: add SenderWriter helper

Dietmar Maurer dietmar at proxmox.com
Fri Feb 18 08:36:05 CET 2022


This can block the executor? If so, should we use block_in_place?
Or does self.sender.blocking_send() consider that automatically?
 
> On 02/17/2022 10:40 AM Dominik Csapak <d.csapak at proxmox.com> wrote:
> 
>  
> this wraps around a tokio Sender for Vec<u8>, but implements a blocking
> write. We can use thas as an adapter for something that only takes a
> writer, and can read from it asynchonously
/listinfo/pbs-devel





More information about the pbs-devel mailing list