direct.task.Task

from direct.task.Task import TaskManager, checkLeak, loop, print_exc_plus, sequence

This module defines a Python-level wrapper around the C++ AsyncTaskManager interface. It replaces the old full-Python implementation of the Task system.

For more information about the task system, consult the Tasks and Event Handling page in the programming manual.

Inheritance diagram

digraph inheritance15246a837b { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "TaskManager" [URL="direct.task.Task.html#direct.task.Task.TaskManager",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; }
Task

Task aliases to acron.core.PythonTask for historical purposes.

class TaskManager[source]

Bases: object

MaxEpochSpeed = 0.03333333333333333
property clock: ClockObject
extendedExceptions = 0
notify = <direct.directnotify.Notifier.Notifier object>
pStatsTasks = 0
taskTimerVerbose = 0