class Rake::Promise

def initialize(args, &block)

Create a promise to do the chore specified by the block.
def initialize(args, &block)
  @mutex = Mutex.new
  @result = NOT_SET
  @error = NOT_SET
  @args = args
  @block = block
end