Renaming Promise.fulfilled => Promise.successful

This commit is contained in:
Viktor Klang 2011-12-12 20:56:04 +01:00
parent 4ddf5814b0
commit ddcbe23f6d

View file

@ -611,7 +611,7 @@ object Promise {
/**
* Creates an already completed Promise with the specified result
*/
def fulfilled[T](result: T)(implicit dispatcher: MessageDispatcher): Promise[T] = new KeptPromise[T](Right(result))
def successful[T](result: T)(implicit dispatcher: MessageDispatcher): Promise[T] = new KeptPromise[T](Right(result))
}
/**