| 4 | |
| 5 | #[async_trait] |
| 6 | pub trait Processor { |
| 7 | async fn batch(&mut self, messages: impl Iterator<Item = SharedMessage> + Send) -> Result<()>; |
| 8 | |
| 9 | async fn end(&mut self) -> Result<()>; |
| 10 | |
| 11 | fn finish(self) -> Result<()>; |
| 12 | } |
nothing calls this directly
no outgoing calls
no test coverage detected