class Async::WorkerPool::Promise

def initialize(work)

@parameter work [Proc] The work to be done.

Create a new promise.
def initialize(work)
	@work = work
	@state = :pending
	@value = nil
	@guard = ::Mutex.new
	@condition = ::ConditionVariable.new
	@thread = nil
end