Public Member Functions | |
def | __init__ |
def | start |
def | cancel |
def | cancelled |
def | running |
def | done |
def | result |
def | exception |
def | traceback |
def | add_done_callback |
![]() | |
def | cancel |
def | cancelled |
def | running |
def | done |
def | result |
def | exception |
def | traceback |
def | add_done_callback |
A Future implementation based around Timer objects.
def grpc.framework.foundation._timer_future.TimerFuture.__init__ | ( | self, | |
compute_time, | |||
computation | |||
) |
Constructor. Args: compute_time: The time after which to begin this future's computation. computation: The computation to be performed within this Future.
def grpc.framework.foundation._timer_future.TimerFuture.add_done_callback | ( | self, | |
fn | |||
) |
See future.Future.add_done_callback for specification.
def grpc.framework.foundation._timer_future.TimerFuture.cancel | ( | self | ) |
See future.Future.cancel for specification.
def grpc.framework.foundation._timer_future.TimerFuture.cancelled | ( | self | ) |
See future.Future.cancelled for specification.
def grpc.framework.foundation._timer_future.TimerFuture.done | ( | self | ) |
See future.Future.done for specification.
def grpc.framework.foundation._timer_future.TimerFuture.exception | ( | self, | |
timeout = None |
|||
) |
See future.Future.exception for specification.
def grpc.framework.foundation._timer_future.TimerFuture.result | ( | self, | |
timeout = None |
|||
) |
See future.Future.result for specification.
def grpc.framework.foundation._timer_future.TimerFuture.running | ( | self | ) |
See future.Future.running for specification.
def grpc.framework.foundation._timer_future.TimerFuture.start | ( | self | ) |
Starts this Future. This must be called exactly once, immediately after construction.
def grpc.framework.foundation._timer_future.TimerFuture.traceback | ( | self, | |
timeout = None |
|||
) |
See future.Future.traceback for specification.