Did I find the right examples for you? yes no

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)
Reference to a running actor which may safely be passed around.

:class:`ActorRef` instances are returned by :meth:`Actor.start` and the
lookup methods in :class:`ActorRegistry <pykka.ActorRegistry>`. You should
never need to create :class:`ActorRef` instances yourself.

:param actor: the actor to wrap
:type actor: :class:`Actor`

src/p/y/Pykka-1.2.0/pykka/__init__.py   Pykka(Download)
# flake8: noqa
from pykka.actor import Actor, ActorRef, ThreadingActor
from pykka.exceptions import ActorDeadError, Timeout
from pykka.future import Future, get_all, ThreadingFuture
from pykka.proxy import ActorProxy

src/p/y/pykka-HEAD/pykka/__init__.py   pykka(Download)
# flake8: noqa
from pykka.actor import Actor, ActorRef, ThreadingActor
from pykka.exceptions import ActorDeadError, Timeout
from pykka.future import Future, get_all, ThreadingFuture
from pykka.proxy import ActorProxy

src/x/b/xbmc-addon-watchdog-HEAD/lib/pykka/__init__.py   xbmc-addon-watchdog(Download)
# flake8: noqa
from pykka.actor import Actor, ActorRef, ThreadingActor
from pykka.exceptions import ActorDeadError, Timeout
from pykka.future import Future, get_all, ThreadingFuture
from pykka.proxy import ActorProxy

src/p/y/pykka-HEAD/tests/namespace_test.py   pykka(Download)
    def test_actor_ref_import(self):
        from pykka import ActorRef as ActorRef1
        from pykka.actor import ActorRef as ActorRef2
        self.assertEqual(ActorRef1, ActorRef2)
 

src/p/y/Pykka-1.2.0/tests/namespace_test.py   Pykka(Download)
    def test_actor_ref_import(self):
        from pykka import ActorRef as ActorRef1
        from pykka.actor import ActorRef as ActorRef2
        self.assertEqual(ActorRef1, ActorRef2)