| Supertypes | |
|---|---|
| Self type |
Creates a promise object which can be completed with a value.
| Type parameters |
|
|---|---|
| Returns | the newly created |
Creates an already completed Promise with the specified exception.
| Type parameters |
|
|---|---|
| Returns | the newly created |
Creates an already completed Promise with the specified result or exception.
| Type parameters |
|
|---|---|
| Returns | the newly created |
Creates an already completed Promise with the specified result.
| Type parameters |
|
|---|---|
| Returns | the newly created |
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/concurrent/Promise$.html