MCPcopy Create free account
hub / github.com/base/base / stop

Method stop

crates/builder/core/src/test_utils/instance.rs:460–463  ·  view source on GitHub ↗

Stop the listener and wait for it to complete

(self)

Source from the content-addressed store, hash-verified

458
459 /// Stop the listener and wait for it to complete
460 pub async fn stop(self) -> eyre::Result<()> {
461 self.cancellation_token.cancel();
462 self.handle.await?
463 }
464}

Calls 1

cancelMethod · 0.45