pub async fn wait_for_readable(write_token: impl Into<String>, connection: Connection) {
    info!("Waiting for write token to be readable");

    wait_for_token(write_token, connection, |res| {
        if all_readable(res) {
            info!("Write is readable: {:?}", res);
            true
        } else {
            false
        }
    })
    .await
}
/// Waits for the specified write token to be readable
Waits for the specified write token to be readable
Waits for the specified write token to be readable
pub async fn wait_for_readable(write_token: impl Into<String>, connection: Connection) {
    info!("Waiting for write token to be readable");
    wait_for_token(write_token, connection, |res| {
        if all_readable(res) {
            info!("Write is readable: {:?}", res);
            true
        } else {
            false
        }
    })
    .await
}
pub async fn wait_for_readable ( write_token : impl Into < String > , connection : Connection ) { info ! ( " " ) ; wait_for_token ( write_token , connection , | res | { if all_readable ( res ) { info ! ( " " res ) ; true } else { false } } ) . await }
Waits for the specified write token to be readable
Waits for the specified write token to be readable
write_token
impl Into<String>
connection
Connection
write_token
impl Into<String>
connection
Connection