A worker thread which services a queue of callables.
|
__init__(self,
label,
on_start_item=<__builtin__.function object>,
on_finish_item=<__builtin__.function object>)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
interrupt(self)
Raises KeyboardInterrupt in the Task thread, only if it's running
something. |
source code
|
|
|
stop(self)
Causes the Task thread to stop servicing and terminate after
finishing the current item, if any. |
source code
|
|
|
do(self,
*argv,
**kw)
Enqueues argv[0](*argv[1:], **kw). |
source code
|
|
|
sync(self)
Waits for any previous do commands to finish before returning. |
source code
|
|
|
run(self)
Override this method to make the Task thread do something. |
source code
|
|
|
run_one(self)
A function's most recent traceback is kept alive until the function
returns (!) When this was part of run(), objects were becoming
immortal. |
source code
|
|
|
|
|
|
|
|
|
|
Inherited from Task :
__call__ ,
gui_call_recv ,
idle_wait ,
join ,
send_exception ,
send_progress ,
send_result ,
send_status ,
set_progress ,
set_status ,
start ,
thread_main
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|