Method
checkin_instance
(&self, instance_handle: InstanceHandle)
Source from the content-addressed store, hash-verified
| 194 | } |
| 195 | |
| 196 | pub async fn checkin_instance(&self, instance_handle: InstanceHandle) { |
| 197 | self.inner |
| 198 | .write() |
| 199 | .await |
| 200 | .checkin_instance(instance_handle) |
| 201 | .await; |
| 202 | } |
| 203 | |
| 204 | pub async fn checkout_or_create_instance(&mut self) -> anyhow::Result<InstanceHandle> { |
| 205 | // TODO: I don't have time to refactor this code, but I don't really like trying in a loop |
Tested by
no test coverage detected