diff options
Diffstat (limited to 'examples/scala-js/tools/shared/src/main/scala/scala/scalajs/tools/env/AsyncJSRunner.scala')
-rw-r--r-- | examples/scala-js/tools/shared/src/main/scala/scala/scalajs/tools/env/AsyncJSRunner.scala | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/examples/scala-js/tools/shared/src/main/scala/scala/scalajs/tools/env/AsyncJSRunner.scala b/examples/scala-js/tools/shared/src/main/scala/scala/scalajs/tools/env/AsyncJSRunner.scala deleted file mode 100644 index 09e2dda..0000000 --- a/examples/scala-js/tools/shared/src/main/scala/scala/scalajs/tools/env/AsyncJSRunner.scala +++ /dev/null @@ -1,19 +0,0 @@ -package scala.scalajs.tools.env - -import scala.concurrent.Future - -trait AsyncJSRunner { - /** Start the associated run and returns a Future that completes when the run - * terminates. - */ - def start(): Future[Unit] - - /** Abort the associated run */ - def stop(): Unit - - /** Checks whether this async runner is still running */ - def isRunning(): Boolean - - /** Await completion of the started Run. Throws if the run failed */ - def await(): Unit -} |