Add `acli.ptree` poll .xsh snippet to docstr

trionics.start_or_cancel
Gud Boi 2026-05-14 13:02:22 -04:00
parent a6d4ac3aac
commit f617c8cb73
1 changed files with 10 additions and 0 deletions

View File

@ -69,6 +69,16 @@ def _ptree(args):
See `tractor._testing.trace.dump_proc_tree()` for the See `tractor._testing.trace.dump_proc_tree()` for the
bucket semantics + classification details. bucket semantics + classification details.
As a hot tip, you can use this `xonsh`-script snippet to poll
a target actor tree:
.. code-block:: xonsh
while 1:
acli.ptree pytest
@.imp.time.sleep(.3)
print("\033c", end="")
''' '''
flag_tree: bool = False flag_tree: bool = False
pos_args: list = [] pos_args: list = []