X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/docs/output/Ext.util.TaskRunner.html diff --git a/docs/output/Ext.util.TaskRunner.html b/docs/output/Ext.util.TaskRunner.html index e014be42..0f7ac4db 100644 --- a/docs/output/Ext.util.TaskRunner.html +++ b/docs/output/Ext.util.TaskRunner.html @@ -1,139 +1,44 @@ -
-
- Properties - Methods - Events - Direct Link -
-

Class Ext.util.TaskRunner

- - - - - -
Package:Ext.util
Defined In:TaskMgr.js
Class:TaskRunner
Extends:Object
-
- * -Provides the ability to execute one or more arbitrary tasks in a multithreaded manner. Generally, you can use -the singleton Ext.TaskMgr instead, but if needed, you can create separate instances of TaskRunner. Any -number of separate tasks can be started at any time and will run independently of each other. Example usage: +

Class Ext.util.TaskRunner

Package:Ext.util
Defined In:TaskMgr.js
Class:TaskRunner
Subclasses:TaskMgr
Extends:Object
Provides the ability to execute one or more arbitrary tasks in a multithreaded +manner. Generally, you can use the singleton Ext.TaskMgr instead, but +if needed, you can create separate instances of TaskRunner. Any number of +separate tasks can be started at any time and will run independently of each +other. Example usage:
// Start a simple clock task that updates a div once per second
+var updateClock = function(){
+    Ext.fly('clock').update(new Date().format('g:i:s A'));
+} 
 var task = {
-    run: function(){
-        Ext.fly('clock').update(new Date().format('g:i:s A'));
-    },
+    run: updateClock,
     interval: 1000 //1 second
 }
 var runner = new Ext.util.TaskRunner();
-runner.start(task);
- -
- -

Public Properties

-
This class has no public properties.
-

Public Methods

- - - - - - - - - - - - -
MethodDefined By

Public Events

This class has no public events.
\ No newline at end of file