MCPcopy Create free account
hub / github.com/drogus/crows / checkout_instance

Method checkout_instance

wasm/src/lib.rs:191–194  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

189 }
190
191 pub async fn checkout_instance(&self) -> Option<InstanceHandle> {
192 let mut inner = self.inner.write().await;
193 inner.instances.pop_front()
194 }
195
196 pub async fn checkin_instance(&self, instance_handle: InstanceHandle) {
197 self.inner

Callers 1

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected