Did I find the right examples for you? yes no

All Samples(19)  |  Call(2)  |  Derive(5)  |  Import(12)
A :class:`Future` is a handle to a value which are available or will be
available in the future.

Typically returned by calls to actor methods or accesses to actor fields.

To get hold of the encapsulated value, call :meth:`Future.get`.

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-1.2.0/pykka/gevent.py   Pykka(Download)
from pykka import Timeout as _Timeout
from pykka.actor import Actor as _Actor
from pykka.future import Future as _Future
 
 
class GeventFuture(_Future):

src/p/y/pykka-HEAD/pykka/gevent.py   pykka(Download)
from pykka import Timeout as _Timeout
from pykka.actor import Actor as _Actor
from pykka.future import Future as _Future
 
 
class GeventFuture(_Future):

src/x/b/xbmc-addon-watchdog-HEAD/lib/pykka/gevent.py   xbmc-addon-watchdog(Download)
from pykka import Timeout as _Timeout
from pykka.actor import Actor as _Actor
from pykka.future import Future as _Future
 
 
class GeventFuture(_Future):

src/p/y/Pykka-1.2.0/pykka/eventlet.py   Pykka(Download)
from pykka import Timeout as _Timeout
from pykka.actor import Actor as _Actor
from pykka.future import Future as _Future
 
 
class EventletFuture(_Future):
    """
    :class:`EventletFuture` implements :class:`pykka.Future` for use with
    :class:`EventletActor`.
    """

src/p/y/pykka-HEAD/pykka/eventlet.py   pykka(Download)
from pykka import Timeout as _Timeout
from pykka.actor import Actor as _Actor
from pykka.future import Future as _Future
 
 
class EventletFuture(_Future):
    """
    :class:`EventletFuture` implements :class:`pykka.Future` for use with
    :class:`EventletActor`.
    """

src/p/y/pykka-HEAD/tests/namespace_test.py   pykka(Download)
    def test_future_import(self):
        from pykka import Future as Future1
        from pykka.future import Future as Future2
        self.assertEqual(Future1, Future2)
 

src/p/y/pykka-HEAD/tests/future_test.py   pykka(Download)
 
from pykka import Timeout
from pykka.future import Future, ThreadingFuture, get_all
 
 
class FutureBaseTest(unittest.TestCase):
    def setUp(self):
        self.future = Future()

  1 | 2  Next