Skip to content

Commit 0ee6617

Browse files
committed
Update README
1 parent 16ce0c1 commit 0ee6617

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def await[T](future: Future[T])(using Async): T = {
4242
result.get
4343
}
4444

45-
/** Utility for interop - can compose a `Future` via delimited continuations. */
45+
/** End-of-the world execution, to use for ScalaJS in `main`. */
4646
def runToFuture[T](body: Async ?=> T): Future[T] = {
4747
val p = Promise[T]()
4848
val _ = Continuations.boundary[Unit] {
@@ -51,7 +51,7 @@ def runToFuture[T](body: Async ?=> T): Future[T] = {
5151
p.future
5252
}
5353

54-
/** End-of-the world execution, to use in `main`. */
54+
/** End-of-the world execution, to use in `main` for JVM/Native. */
5555
def runBlocking[T](body: Async ?=> T): T = {
5656
import java.util.concurrent.CountDownLatch
5757
var result: Option[Try[T]] = None

0 commit comments

Comments
 (0)