Channel_

@JSImport("diagnostic_channel", "Channel") @native @JSType class Channel_ extends StObject

Simple diagnostic channel that allows

trait StObject
class Object
trait Any
class Object
trait Matchable
class Any
class Channel_

Value members

Concrete methods

def subscribe(listener: ChannelListener): Unit

Add a listener to the message channel.

Add a listener to the message channel.

def unsubscribe(listener: ChannelListener): Unit

Removes a previously registered listener.

Removes a previously registered listener.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

val hashSubscribers: Boolean
val name: String