(client: &ApiClient)
| 440 | /// Creates a future that polls the `/next` endpoint. |
| 441 | #[cfg(feature = "concurrency-tokio")] |
| 442 | async fn next_event_future(client: &ApiClient) -> Result<http::Response<hyper::body::Incoming>, BoxError> { |
| 443 | let req = NextEventRequest.into_req()?; |
| 444 | client.call(req).await |
| 445 | } |
| 446 | |
| 447 | fn max_concurrency_from_env() -> Option<u32> { |
| 448 | env::var("AWS_LAMBDA_MAX_CONCURRENCY") |
no test coverage detected