X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/TaskManager.html diff --git a/docs/source/TaskManager.html b/docs/source/TaskManager.html index 602f9ed7..225f6bc7 100644 --- a/docs/source/TaskManager.html +++ b/docs/source/TaskManager.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.util.TaskRunner
  * Provides the ability to execute one or more arbitrary tasks in a multithreaded
  * manner.  Generally, you can use the singleton {@link Ext.TaskManager} instead, but
@@ -28,8 +45,7 @@ Ext.TaskManager.start({
  * Also see {@link Ext.util.DelayedTask}. 
  * 
  * @constructor
- * @param {Number} interval (optional) The minimum precision in milliseconds supported by this TaskRunner instance
- * (defaults to 10)
+ * @param {Number} [interval=10] The minimum precision in milliseconds supported by this TaskRunner instance
  */
 Ext.ns('Ext.util');
 
@@ -101,7 +117,7 @@ Ext.util.TaskRunner = function(interval) {
         }
     };
 
-    /**
+    /**
      * Starts a new task.
      * @method start
      * @param {Object} task <p>A config object that supports the following properties:<ul>
@@ -134,7 +150,7 @@ Ext.util.TaskRunner = function(interval) {
         return task;
     };
 
-    /**
+    /**
      * Stops an existing running task.
      * @method stop
      * @param {Object} task The task to stop
@@ -145,7 +161,7 @@ Ext.util.TaskRunner = function(interval) {
         return task;
     };
 
-    /**
+    /**
      * Stops all tasks that are currently running.
      * @method stopAll
      */
@@ -179,4 +195,6 @@ Ext.TaskManager.start(task);
  * <p>See the {@link #start} method for details about how to configure a task object.</p>
  * @singleton
  */
-Ext.TaskManager = Ext.create('Ext.util.TaskRunner');
\ No newline at end of file +Ext.TaskManager = Ext.create('Ext.util.TaskRunner');
+ +