-<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-util.TaskRunner-method-constructor'><span id='Ext-util.TaskRunner'>/**
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>The source code</title>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+ <style type="text/css">
+ .highlight { display: block; background-color: #ddd; }
+ </style>
+ <script type="text/javascript">
+ function highlight() {
+ document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
+ }
+ </script>
+</head>
+<body onload="prettyPrint(); highlight();">
+ <pre class="prettyprint lang-js"><span id='Ext-util-TaskRunner-method-constructor'><span id='Ext-util-TaskRunner'>/**
</span></span> * @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
* 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');
}
};
-<span id='Ext-util.TaskRunner-method-start'> /**
+<span id='Ext-util-TaskRunner-method-start'> /**
</span> * Starts a new task.
* @method start
* @param {Object} task <p>A config object that supports the following properties:<ul>
return task;
};
-<span id='Ext-util.TaskRunner-method-stop'> /**
+<span id='Ext-util-TaskRunner-method-stop'> /**
</span> * Stops an existing running task.
* @method stop
* @param {Object} task The task to stop
return task;
};
-<span id='Ext-util.TaskRunner-method-stopAll'> /**
+<span id='Ext-util-TaskRunner-method-stopAll'> /**
</span> * Stops all tasks that are currently running.
* @method stopAll
*/
* <p>See the {@link #start} method for details about how to configure a task object.</p>
* @singleton
*/
-Ext.TaskManager = Ext.create('Ext.util.TaskRunner');</pre></pre></body></html>
\ No newline at end of file
+Ext.TaskManager = Ext.create('Ext.util.TaskRunner');</pre>
+</body>
+</html>