Properties Methods Events Direct Link
TaskRunner
  TaskMgr

Class Ext.TaskMgr

Package:Ext
Defined In:TaskMgr.js
Class:TaskMgr
Extends:TaskRunner
A static Ext.util.TaskRunner instance that can be used to start and stop arbitrary tasks. See Ext.util.TaskRunner for supported methods and task config properties.
// Start a simple clock task that updates a div once per second
var task = {
    run: function(){
        Ext.fly('clock').update(new Date().format('g:i:s A'));
    },
    interval: 1000 //1 second
}
Ext.TaskMgr.start(task);

See the start method for details about how to configure a task object.



This class is a singleton and cannot be created directly.

Public Properties

This class has no public properties.

Public Methods

MethodDefined By

Public Events

This class has no public events.