diagnosticChannelMod

class Object
trait Matchable
class Any

Type members

Classlikes

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

Simple diagnostic channel that allows

Simple diagnostic channel that allows

Types

type ChannelListener = Function2[String, Any, Unit]

Value members

Concrete methods

@inline
def channel(name: String): Channel_

Gets or create a diagnostic channel by name.

Gets or create a diagnostic channel by name.

@inline
def hasSubscribers(name: String): Boolean

Returns wether a named channel has subscribers or not.

Returns wether a named channel has subscribers or not.

Concrete fields

@JSImport("diagnostic_channel") @native
val ^: Any