Get a cloneable handle for spawning tasks and accessing runtime services.
(&self)
| 160 | |
| 161 | /// Get a cloneable handle for spawning tasks and accessing runtime services. |
| 162 | pub fn handle(&self) -> Handle { |
| 163 | Handle { |
| 164 | executor: Arc::clone(&self.executor), |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | /// Create a new simulated node. |
| 169 | /// |
no outgoing calls