Add ConnTx::send_only
This commit is contained in:
parent
09a9620f8e
commit
46d9367670
5 changed files with 11 additions and 5 deletions
|
|
@ -136,7 +136,7 @@ async fn on_packet(packet: ParsedPacket, snapshot: Snapshot) -> Result<(), ()> {
|
|||
// If you are not interested in the result, you can just
|
||||
// throw away the future returned by the send function.
|
||||
println!("Sending reply...");
|
||||
let _ = snapshot.conn_tx.send(Send {
|
||||
snapshot.conn_tx.send_only(Send {
|
||||
content: reply,
|
||||
parent: Some(event.0.id),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue