Execute the given events processor
(events_processor: E)
| 31 | |
| 32 | /// Execute the given events processor |
| 33 | pub async fn run<E>(events_processor: E) -> Result<(), Error> |
| 34 | where |
| 35 | E: Service<LambdaEvent>, |
| 36 | E::Future: Future<Output = Result<(), E::Error>>, |
| 37 | E::Error: Into<Box<dyn std::error::Error + Send + Sync>> + fmt::Display + fmt::Debug, |
| 38 | { |
| 39 | let ext = Extension::new().with_events_processor(events_processor); |
| 40 | ext.run().await |
| 41 | } |
nothing calls this directly
no test coverage detected