Skip to content

Instantly share code, notes, and snippets.

@threepointone
Created November 23, 2012 08:14
Show Gist options
  • Save threepointone/4134486 to your computer and use it in GitHub Desktop.
Save threepointone/4134486 to your computer and use it in GitHub Desktop.
compound tasks
k.task('a', function(done){ done(); });
k.task('b', function(done){ done(); });
k.task('c', function(done){
this.D.a().b().then(done);
});
k().D.c().then(function(){
console.log('done!');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment