(&self, scope: Option<JsScope>)
| 307 | /// Delete all memories matching a scope. |
| 308 | #[napi] |
| 309 | pub async fn delete_all(&self, scope: Option<JsScope>) -> Result<()> { |
| 310 | let core_scope = js_scope_to_core(scope); |
| 311 | self.service |
| 312 | .delete_all(&core_scope) |
| 313 | .await |
| 314 | .map_err(to_napi_error) |
| 315 | } |
| 316 | |
| 317 | /// Get mutation history for a memory. |
| 318 | #[napi] |
nothing calls this directly
no test coverage detected