tractor/examples
Tyler Goodlet a668f714d5 Allow passing function refs to `Portal.run()`
This resolves and completes #69 allowing all RPC invocation APIs to pass
function references directly instead of explicit `str` names for the
target namespace and function (this is still done implicitly
underneath).  This brings us closer to `trio`'s task running API as well
as acknowledges that any inter-host RPC system (and API) will likely
need to be implemented on top of local RPC primitives anyway. Even if
this ends up **not** being true we can always go to "function stubs" as
part of our IAC protocol or, add a new method to do explicit namespace
calls: `.run_from_module()` or whatever everyone votes on.

Resolves #69

Further, this commit drops `Actor.statespace` from the entire system
since a user can easily get this same functionality using module
level variables. Fix docs to match all these changes (luckily mostly
already done due to example scripts referencing).
2020-12-21 09:09:55 -05:00
..
debugging Allow passing function refs to `Portal.run()` 2020-12-21 09:09:55 -05:00
__main__.py Better document the window's gotcha solution in test code 2020-02-09 14:59:22 -05:00
a_trynamic_first_scene.py Allow passing function refs to `Portal.run()` 2020-12-21 09:09:55 -05:00
actor_spawning_and_causality.py Allow passing function refs to `Portal.run()` 2020-12-21 09:09:55 -05:00
actor_spawning_and_causality_with_daemon.py Allow passing function refs to `Portal.run()` 2020-12-21 09:09:55 -05:00
asynchronous_generators.py Allow passing function refs to `Portal.run()` 2020-12-21 09:09:55 -05:00
full_fledged_streaming_service.py Allow passing function refs to `Portal.run()` 2020-12-21 09:09:55 -05:00
remote_error_propagation.py Allow passing function refs to `Portal.run()` 2020-12-21 09:09:55 -05:00
service_discovery.py Add tests for all docs examples 2020-02-09 02:01:39 -05:00