/*
|
This file is part of Ext JS 4.2
|
|
Copyright (c) 2011-2013 Sencha Inc
|
|
Contact: http://www.sencha.com/contact
|
|
GNU General Public License Usage
|
This file may be used under the terms of the GNU General Public License version 3.0 as
|
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
packaging of this file.
|
|
Please review the following information to ensure the GNU General Public License version 3.0
|
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
|
If you are unsure which license is appropriate for your use, please contact the sales department
|
at http://www.sencha.com/contact.
|
|
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
*/
|
// @tag extras,core
|
/**
|
* A static {@link Ext.util.TaskRunner} instance that can be used to start and stop
|
* arbitrary tasks. See {@link 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.TaskManager.start(task);
|
*
|
* See the {@link #start} method for details about how to configure a task object.
|
*/
|
Ext.define('Ext.util.TaskManager', {
|
extend: 'Ext.util.TaskRunner',
|
|
alternateClassName: [
|
'Ext.TaskManager'
|
],
|
|
singleton: true
|
});
|