pub async fn frame_proc_loop<F: AsyncFnMut(Vec<u8>) + Sync + Send + 'static>( rx: Receiver<Option<Vec<u8>>>, func: F, )
Run frame processing loop