Macro tikv_util::wait_op[][src]

macro_rules! wait_op {
    ($expr:expr) => { ... };
    ($expr:expr, $timeout:expr) => { ... };
    (IMPL $expr:expr, $timeout:expr) => { ... };
}

Waits for async operation. It returns Option<Res> after the expression gets executed. It only accepts a Result expression.