MCPcopy Index your code
hub / github.com/AI45Lab/Code / stop

Method stop

sdk/python/src/lib.rs:1036–1038  ·  view source on GitHub ↗

Request graceful shutdown of the serve daemon. Idempotent.

(&self)

Source from the content-addressed store, hash-verified

1034impl PyServeHandle {
1035 /// Request graceful shutdown of the serve daemon. Idempotent.
1036 fn stop(&self) {
1037 self.cancel.cancel();
1038 }
1039
1040 /// Whether `stop()` has been called on this handle.
1041 fn is_stopped(&self) -> bool {

Callers 3

test_serve_real_scheduleFunction · 0.45

Calls 1

cancelMethod · 0.45

Tested by 3

test_serve_real_scheduleFunction · 0.36