We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 531d777 commit e08dbfaCopy full SHA for e08dbfa
shared/src/main/scala/async/Async.scala
@@ -191,7 +191,7 @@ object Async:
191
* @see
192
* [[Source!.awaitResult awaitResult]] for non-unwrapping await.
193
*/
194
- def await(using Async) = src.awaitResult.get
+ inline def await(using Async): T = src.awaitResult.get
195
extension [E, T](src: Source[Either[E, T]]^)
196
/** Waits for an item to arrive from the source, then automatically unwraps it. Suspends until an item returns.
197
0 commit comments