Packages

class MessagePort extends Object with StObject with _TransferListItem

Annotations
@JSType() @JSImport("worker_threads", "MessagePort") @native()
Source
workerThreadsMod.scala
Linear Supertypes
_TransferListItem, StObject, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MessagePort
  2. _TransferListItem
  3. StObject
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MessagePort(options: EventEmitterOptions)
  2. new MessagePort()

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. def addListener(event: Symbol, listener: Function1[Any, Unit]): MessagePort.this.type
  5. def addListener(event: java.lang.String, listener: Function1[Any, Unit]): MessagePort.this.type
  6. def addListener_close(event: close, listener: Function0[Unit]): MessagePort.this.type
    Annotations
    @JSName("addListener")
  7. def addListener_message(event: message, listener: Function1[Any, Unit]): MessagePort.this.type
    Annotations
    @JSName("addListener")
  8. def addListener_messageerror(event: messageerror, listener: Function1[Error, Unit]): MessagePort.this.type
    Annotations
    @JSName("addListener")
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  11. def close(): Unit
  12. def emit(event: Symbol, args: Any*): Boolean
  13. def emit(event: java.lang.String, args: Any*): Boolean
  14. def emit_close(event: close): Boolean
    Annotations
    @JSName("emit")
  15. def emit_message(event: message, value: Any): Boolean
    Annotations
    @JSName("emit")
  16. def emit_messageerror(event: messageerror, error: Error): Boolean
    Annotations
    @JSName("emit")
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  20. def hasOwnProperty(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. def off(event: Symbol, listener: Function1[Any, Unit]): MessagePort.this.type
  28. def off(event: java.lang.String, listener: Function1[Any, Unit]): MessagePort.this.type
  29. def off_close(event: close, listener: Function0[Unit]): MessagePort.this.type
    Annotations
    @JSName("off")
  30. def off_message(event: message, listener: Function1[Any, Unit]): MessagePort.this.type
    Annotations
    @JSName("off")
  31. def off_messageerror(event: messageerror, listener: Function1[Error, Unit]): MessagePort.this.type
    Annotations
    @JSName("off")
  32. def on(event: Symbol, listener: Function1[Any, Unit]): MessagePort.this.type
  33. def on(event: java.lang.String, listener: Function1[Any, Unit]): MessagePort.this.type
  34. def on_close(event: close, listener: Function0[Unit]): MessagePort.this.type
    Annotations
    @JSName("on")
  35. def on_message(event: message, listener: Function1[Any, Unit]): MessagePort.this.type
    Annotations
    @JSName("on")
  36. def on_messageerror(event: messageerror, listener: Function1[Error, Unit]): MessagePort.this.type
    Annotations
    @JSName("on")
  37. def once(event: Symbol, listener: Function1[Any, Unit]): MessagePort.this.type
  38. def once(event: java.lang.String, listener: Function1[Any, Unit]): MessagePort.this.type
  39. def once_close(event: close, listener: Function0[Unit]): MessagePort.this.type
    Annotations
    @JSName("once")
  40. def once_message(event: message, listener: Function1[Any, Unit]): MessagePort.this.type
    Annotations
    @JSName("once")
  41. def once_messageerror(event: messageerror, listener: Function1[Error, Unit]): MessagePort.this.type
    Annotations
    @JSName("once")
  42. def postMessage(value: Any, transferList: Array[TransferListItem]): Unit
  43. def postMessage(value: Any): Unit
  44. def prependListener(event: Symbol, listener: Function1[Any, Unit]): MessagePort.this.type
  45. def prependListener(event: java.lang.String, listener: Function1[Any, Unit]): MessagePort.this.type
  46. def prependListener_close(event: close, listener: Function0[Unit]): MessagePort.this.type
    Annotations
    @JSName("prependListener")
  47. def prependListener_message(event: message, listener: Function1[Any, Unit]): MessagePort.this.type
    Annotations
    @JSName("prependListener")
  48. def prependListener_messageerror(event: messageerror, listener: Function1[Error, Unit]): MessagePort.this.type
    Annotations
    @JSName("prependListener")
  49. def prependOnceListener(event: Symbol, listener: Function1[Any, Unit]): MessagePort.this.type
  50. def prependOnceListener(event: java.lang.String, listener: Function1[Any, Unit]): MessagePort.this.type
  51. def prependOnceListener_close(event: close, listener: Function0[Unit]): MessagePort.this.type
    Annotations
    @JSName("prependOnceListener")
  52. def prependOnceListener_message(event: message, listener: Function1[Any, Unit]): MessagePort.this.type
    Annotations
    @JSName("prependOnceListener")
  53. def prependOnceListener_messageerror(event: messageerror, listener: Function1[Error, Unit]): MessagePort.this.type
    Annotations
    @JSName("prependOnceListener")
  54. def propertyIsEnumerable(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  55. def ref(): Unit
  56. def removeListener(event: Symbol, listener: Function1[Any, Unit]): MessagePort.this.type
  57. def removeListener(event: java.lang.String, listener: Function1[Any, Unit]): MessagePort.this.type
  58. def removeListener_close(event: close, listener: Function0[Unit]): MessagePort.this.type
    Annotations
    @JSName("removeListener")
  59. def removeListener_message(event: message, listener: Function1[Any, Unit]): MessagePort.this.type
    Annotations
    @JSName("removeListener")
  60. def removeListener_messageerror(event: messageerror, listener: Function1[Error, Unit]): MessagePort.this.type
    Annotations
    @JSName("removeListener")
  61. def start(): Unit
  62. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  63. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  64. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  65. def unref(): Unit
  66. def valueOf(): Any
    Definition Classes
    Object
  67. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  68. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  69. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from _TransferListItem

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped