MCPcopy Create free account
hub / github.com/codecombat/codecombat / Task

Function Task

app/assets/javascripts/setImmediate.js:5–8  ·  view source on GitHub ↗
(handler, args)

Source from the content-addressed store, hash-verified

3
4 var tasks = (function () {
5 function Task(handler, args) {
6 this.handler = handler;
7 this.args = args;
8 }
9 Task.prototype.run = function () {
10 // See steps in section 5 of the spec.
11 if (typeof this.handler === "function") {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected