Request graceful shutdown of the serve daemon. Idempotent.
(&self)
| 1034 | impl 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 { |