Pass an actor name to `main()` in discovery ex

Resolves #41
docs_example_fixes
Tyler Goodlet 2019-03-10 15:59:59 -04:00
parent e560322b9b
commit 322145684b
1 changed files with 1 additions and 1 deletions

View File

@ -581,7 +581,7 @@ find an actor's socket address by name use the ``find_actor()`` function:
print(f"my_service is found at {my_service}") print(f"my_service is found at {my_service}")
tractor.run(main, service_name) tractor.run(main, 'some_actor_name')
The ``name`` value you should pass to ``find_actor()`` is the one you passed as the The ``name`` value you should pass to ``find_actor()`` is the one you passed as the