(&mut self, msg: DeliveryResult)
| 115 | async fn terminate(&mut self) {} |
| 116 | |
| 117 | async fn handle_message(&mut self, msg: DeliveryResult) -> ProcResult<()> { |
| 118 | |
| 119 | match msg { |
| 120 | Some(send_future) => { |
| 121 | match send_future.await { |
| 122 | Ok(_) => (), |
| 123 | Err(_e) => { |
| 124 | // TODO: handle error |
| 125 | } |
| 126 | } |
| 127 | } |
| 128 | Err(pulsar_err) => { |
| 129 | // TODO: Push to dead letter or requeue |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | ProcResult::Continue |
| 134 | } |
| 135 | } |
| 136 | |
| 137 |
nothing calls this directly
no outgoing calls
no test coverage detected