Renaming Promise.fulfilled => Promise.successful
This commit is contained in:
parent
4ddf5814b0
commit
ddcbe23f6d
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue