Sha256: 0844b68d71e2543bb9dd0d2a2e6661534e9ebdb0cf924d237902dd7c6222e833

Contents?: true

Size: 730 Bytes

Versions: 7

Compression:

Stored size: 730 Bytes

Contents

// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2006-2009 Sprout Systems, Inc. and contributors.
//            Portions ©2008-2009 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.
  }
});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sproutcore-1.4.0.rc.5 lib/frameworks/sproutcore/frameworks/foundation/tasks/task.js
sproutcore-1.4.0.rc.4 lib/frameworks/sproutcore/frameworks/foundation/tasks/task.js
sproutcore-1.4.0.rc.3 lib/frameworks/sproutcore/frameworks/foundation/tasks/task.js
sproutcore-1.4.0.rc.2 lib/frameworks/sproutcore/frameworks/foundation/tasks/task.js
sproutcore-1.4.0.rc lib/frameworks/sproutcore/frameworks/foundation/tasks/task.js
sproutcore-1.0.1049.pre.2 lib/frameworks/sproutcore/frameworks/foundation/tasks/task.js
sproutcore-1.0.1049.pre.1 frameworks/sproutcore/frameworks/foundation/tasks/task.js