Package

org.scalajs

jsenv

Permalink

package jsenv

Visibility
  1. Public
  2. All

Type Members

  1. abstract class Input extends AnyRef

    Permalink

    Input to a JSEnv.

    Input to a JSEnv.

    Implementors of a JSEnv are expected to pattern match on this input type and handle the ones they support.

    Note that this type is not sealed, so future versions of Scala.js may add additional input types. Older JSEnvs are expected to fail in this case with an UnsupportedInputException.

  2. trait JSComRun extends JSRun

    Permalink

    A JSRun that has a communication channel to the running JS code.

  3. trait JSEnv extends AnyRef

    Permalink

    A JavaScript execution environment.

    A JavaScript execution environment.

    This can run and interact with JavaScript code.

    Any implementation is expected to be fully thread-safe.

  4. trait JSRun extends AutoCloseable

    Permalink

    A launched instance of a JSEnv.

    A launched instance of a JSEnv.

    This is the interface to actually running JS code (whether this is in process or not depens on the JSEnv that created the JSRun).

    Any implementation is expected to be fully thread-safe.

  5. final class RunConfig extends AnyRef

    Permalink

    Configuration provided when starting a JSEnv.

  6. class UnsupportedInputException extends IllegalArgumentException

    Permalink

Value Members

  1. object ExternalJSRun

    Permalink

    Support for creating a JSRun via an external process.

  2. object Input

    Permalink
  3. object JSComRun

    Permalink
  4. object JSRun

    Permalink
  5. object JSUtils

    Permalink
  6. object RunConfig

    Permalink

Ungrouped