Package zeroinstall :: Package support :: Module tasks :: Class TimeoutBlocker
[frames] | no frames]

Class TimeoutBlocker

source code

object --+    
         |    
   Blocker --+
             |
            TimeoutBlocker

Triggers after a set number of seconds.

Instance Methods
 
__init__(self, timeout, name)
Trigger after 'timeout' seconds (may be a fraction).
source code

Inherited from Blocker: __repr__, __str__, add_task, remove_task, trigger

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables

Inherited from Blocker: exception

Properties

Inherited from object: __class__

Method Details

__init__(self, timeout, name)
(Constructor)

source code 

Trigger after 'timeout' seconds (may be a fraction).

Parameters:
  • name (str)
  • timeout (float)
Overrides: object.__init__