Named

com.raquo.airstream.core.Named
trait Named

This trait lets the user set an ad-hoc name for this instance. Used for debugging and tracing.

Subclasses: BaseObservable, Observer

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait BaseObservable[Self, A]
trait EventStream[A]
trait WritableStream[A]
class MergeStream[A]
trait MultiParentStream[I, O]
class CombineStreamN[A, Out]
class SampleCombineStreamN[A, Out]
trait SingleParentStream[I, O]
class DebuggerStream[A]
class DistinctStream[A]
class CollectStream[A, B]
class DropStream[A]
class FilterStream[A]
class MapStream[I, O]
class StreamFromSignal[A]
class TakeStream[A]
class DebounceStream[A]
class DelayStream[A]
class SyncDelayStream[A]
class ThrottleStream[A]
class EventBusStream[A]
class ConcurrentStream[A]
class SwitchStream[I, O]
class JsPromiseStream[A]
class PeriodicStream[A]
class AjaxStream
class FetchStream
trait Observable[A]
trait Signal[A]
trait WritableSignal[A]
trait MultiParentSignal[I, O]
class CombineSignalN[A, Out]
class SampleCombineSignalN[A, Out]
trait SingleParentSignal[I, O]
class DebuggerSignal[A]
class DistinctSignal[A]
class MapSignal[I, O]
class DerivedVarSignal[A, B]
class ObservedSignal[A]
class ScanLeftSignal[A, B]
class SignalFromStream[A]
class SplitSignal[M, Input, Output, Key]
class SwitchSignal[A]
class Val[A]
class JsPromiseSignal[A]
trait StrictSignal[A]
trait OwnedSignal[A]
trait SyncObservable[A]
trait CustomSource[A]
trait Observer[A]
class DebuggerObserver[A]
class WriteBus[A]
class EventBus[A]
trait Var[A]
class DerivedVar[A, B]
class SourceVar[A]
Show all

Members list

Value members

Concrete methods

protected def defaultDisplayName: String

This is the method that subclasses override to preserve the user's ability to set custom display names.

This is the method that subclasses override to preserve the user's ability to set custom display names.

Attributes

final def displayName: String
def setDisplayName(name: String): Named.this.type

Set the display name for this instance (observable or observer).

Set the display name for this instance (observable or observer).

  • This method modifies the instance and returns this. It does not create a new instance.
  • New name you set will override the previous name, if any. This might change in the future. For the sake of sanity, don't call this more than once for the same instance.
  • If display name is set, toString will output it instead of the standard type@hashcode string

Attributes

final override def toString: String

Override defaultDisplayName instead of this, if you need to.

Override defaultDisplayName instead of this, if you need to.

Attributes

Definition Classes
Any