(&self, function_name: &str)
| 149 | } |
| 150 | |
| 151 | pub async fn init(&self, function_name: &str) { |
| 152 | let mut inner = self.inner.write().await; |
| 153 | inner.insert(function_name.into(), RequestQueue::new()); |
| 154 | debug!( |
| 155 | function_name, |
| 156 | "request stack initialized before compilation" |
| 157 | ); |
| 158 | } |
| 159 | |
| 160 | pub async fn upsert(&self, req: InvokeRequest) -> Result<Option<String>, ServerError> { |
| 161 | let mut inner = self.inner.write().await; |