X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/output/Ext.util.TaskRunner.html
diff --git a/docs/output/Ext.util.TaskRunner.html b/docs/output/Ext.util.TaskRunner.html
deleted file mode 100644
index e014be42..00000000
--- a/docs/output/Ext.util.TaskRunner.html
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
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:
-
// 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
-}
-var runner = new Ext.util.TaskRunner();
-runner.start(task);
-
-
-
-
Public Properties
-
This class has no public properties.
-
Public Methods
-
-
-
-
-
-
- |
-
-
- TaskRunner( [Number interval ] )
-
-
-
- Parameters:
-
- Returns:
-
-
-
-
- |
- TaskRunner |
-
-
- |
-
-
- start( [Object task ] ) : Object
- Starts a new task.
-
- Starts a new task.
- Parameters:
- task : ObjectA config object that supports the following properties:
-run : FunctionThe function to execute each time the task is run. The
-function will be called at each interval and passed the args argument if specified. If a
-particular scope is required, be sure to specify it using the scope argument.
-interval : NumberThe frequency in milliseconds with which the task
-should be executed.
-args : Array(optional) An array of arguments to be passed to the function
-specified by run .
-scope : Object(optional) The scope in which to execute the
-run function.
-duration : Number(optional) The length of time in milliseconds to execute
-the task before stopping automatically (defaults to indefinite).
-repeat : Number(optional) The number of times to execute the task before
-stopping automatically (defaults to indefinite).
-
- Returns:
-
-
-
-
- |
- TaskRunner |
-
-
- |
-
-
- stop( Object task ) : Object
- Stops an existing running task.
-
- Stops an existing running task.
- Parameters:
- task : ObjectThe task to stop
- Returns:
-
-
-
-
- |
- TaskRunner |
-
-
- |
-
-
- stopAll() : void
- Stops all tasks that are currently running.
-
- Stops all tasks that are currently running.
- Parameters:
-
- Returns:
-
-
-
-
- |
- TaskRunner |
-
-
-
-
Public Events
-
This class has no public events.
-
\ No newline at end of file