Class/Object

bridge

JSAccess

Related Docs: object JSAccess | package bridge

Permalink

abstract class JSAccess[F[+_]] extends AnyRef

Provide access to remote page with JavaScript engine

Self Type
JSAccess[F]
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JSAccess
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JSAccess()(implicit arg0: Async[F])

    Permalink

Type Members

  1. case class Request(id: Int, args: Seq[Any], resultPromise: Promise[F, Any]) extends Product with Serializable

    Permalink

Abstract Value Members

  1. abstract def callbacks: Map[String, (Any) ⇒ Unit]

    Permalink
    Attributes
    protected
  2. abstract def promises: Map[Int, Promise[F, Any]]

    Permalink

    List of promises of requests.

    List of promises of requests. Resolves by income messages

    Attributes
    protected
  3. abstract def send(args: Seq[Any]): Unit

    Permalink

    Abstract method sends message to remote page

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def array(linkId: String): JSArray[F]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fireCallback(callbackId: String, arg: Any): Unit

    Permalink
  11. def flush(): Unit

    Permalink
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. lazy val global: JSObj[F]

    Permalink
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val lastCallbackId: AtomicInteger

    Permalink
    Attributes
    protected
  17. val lastReqId: AtomicInteger

    Permalink

    Increment it after request

    Increment it after request

    Attributes
    protected
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def obj(linkId: String): JSObj[F]

    Permalink
  22. def packArgs(args: Seq[Any]): Seq[Any]

    Permalink
  23. def platformDependentPack(value: Any): Any

    Permalink
  24. def platformDependentUnpack(value: Any): Any

    Permalink
  25. def registerCallback[T](f: (T) ⇒ Unit): F[JSObj[F]]

    Permalink
  26. def registerCallbackAndFlush[T](f: (T) ⇒ Unit): F[JSObj[F]]

    Permalink
  27. def request[A](args: Any*): F[A]

    Permalink

    Make request to remote page.

    Make request to remote page.

    A

    Type you need

    returns

    Future with result. It may be any basic type or JSLink

  28. def resolvePromise(reqId: Int, isSuccess: Boolean, res: Any): Unit

    Permalink
  29. def sendRequest(args: Seq[Any])(exceptionHandler: (Throwable) ⇒ Unit): Unit

    Permalink
    Attributes
    protected
  30. def sendRequest(request: Request): Unit

    Permalink
    Attributes
    protected
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. def unpackArg[A](arg: Any): A

    Permalink
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped