macro_rules! send_value {
($tx:ident, $value:expr) => { ... };
}Expand description
Sends the value through the channel and logs in case of error.
Parameters:
$tx: sender channel$value: value to be sent
Example:
ⓘ
send_value!(tx, Ok(QueryResult::Row(row)));