mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2025-06-11 10:53:19 +02:00
Improvements for process actor and raw_write
This commit is contained in:
@ -179,10 +179,8 @@ impl InUseServer for Machine {
|
||||
let data: Vec<u8> = pry!(pry!(params.get()).get_data()).to_vec();
|
||||
let resource = self.resource.clone();
|
||||
let session = self.session.clone();
|
||||
Promise::from_future(async move {
|
||||
resource.send_raw(data).await;
|
||||
Ok(())
|
||||
})
|
||||
resource.send_raw(data);
|
||||
Promise::ok(())
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user