blossom
Version:
Modern, Cross-Platform Application Framework
18 lines (16 loc) • 722 B
JavaScript
// ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2011 Strobe Inc. and contributors.
// Portions ©2008-2010 Apple Inc. All rights reserved.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
/**
Represents a single task which can be run by a task queue. Note that tasks
are actually allowed to add themselves back onto the queue if they did not/
might not finish.
*/
SC.Task = SC.Object.extend({
run: function(queue) {
// if needed, you could put the task back on the queue for later finishing.
}
});