Show More
@@ -276,6 +276,14 b' class View(HasTraits):' | |||
|
276 | 276 | targets = self.targets |
|
277 | 277 | return self.client.purge_results(jobs=jobs, targets=targets) |
|
278 | 278 | |
|
279 | def shutdown(self, targets=None, restart=False, hub=False, block=None): | |
|
280 | """Terminates one or more engine processes, optionally including the hub. | |
|
281 | """ | |
|
282 | block = self.block if block is None else block | |
|
283 | if targets is None or targets == 'all': | |
|
284 | targets = self.targets | |
|
285 | return self.client.shutdown(targets=targets, restart=restart, hub=hub, block=block) | |
|
286 | ||
|
279 | 287 | @spin_after |
|
280 | 288 | def get_result(self, indices_or_msg_ids=None): |
|
281 | 289 | """return one or more results, specified by history index or msg_id. |
General Comments 0
You need to be logged in to leave comments.
Login now