Packages

  • package root
    Definition Classes
    root
  • package swam
    Definition Classes
    root
  • package runtime

    This package contains all the classes and types related to running WebAssembly modules.

    This package contains all the classes and types related to running WebAssembly modules.

    The entry point for almost all users will be Engine. A typical use of the engine is:

    import swam._
    import text._
    import runtime._
    import exports._
    
    import cats.implicits._
    import cats.effect._
    
    import java.nio.file.Paths
    
    val tcompiler = Compiler[IO]
    val engine = Engine[IO]
    
    for {
      tcompiler <- tcompiler
      engine <- engine
      mod <- engine.compile(/* source of the module */)
      inst <- mod.newInstance()
      f <- inst.exports.function1[Int, Int]("f")
      res <- f(43)
    } yield res
    
    println(res.unsafeRunSync())
    Definition Classes
    swam
  • package trace
    Definition Classes
    runtime
  • object HandlerType extends Enum[HandlerType]
    Definition Classes
    trace
  • Console
  • Custom
  • File
  • Socket
  • configReader

implicit object configReader extends ConfigReader[HandlerType]

Source
JULTracer.scala
Linear Supertypes
ConfigReader[HandlerType], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. configReader
  2. ConfigReader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def contramapConfig(f: (ConfigValue) => ConfigValue): ConfigReader[HandlerType]
    Definition Classes
    ConfigReader
  7. def contramapCursor(f: (ConfigCursor) => ConfigCursor): ConfigReader[HandlerType]
    Definition Classes
    ConfigReader
  8. def emap[B](f: (HandlerType) => Either[FailureReason, B]): ConfigReader[B]
    Definition Classes
    ConfigReader
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def flatMap[B](f: (HandlerType) => ConfigReader[B]): ConfigReader[B]
    Definition Classes
    ConfigReader
  12. def from(cur: ConfigCursor): Result[HandlerType]
    Definition Classes
    configReader → ConfigReader
  13. def from(config: ConfigValue): Result[HandlerType]
    Definition Classes
    ConfigReader
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def map[B](f: (HandlerType) => B): ConfigReader[B]
    Definition Classes
    ConfigReader
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def orElse[AA >: HandlerType, B <: AA](reader: => ConfigReader[B]): ConfigReader[AA]
    Definition Classes
    ConfigReader
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. def zip[B](reader: ConfigReader[B]): ConfigReader[(HandlerType, B)]
    Definition Classes
    ConfigReader

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ConfigReader[HandlerType]

Inherited from AnyRef

Inherited from Any

Ungrouped