ObserverList

com.raquo.airstream.core.ObserverList
final class ObserverList[Obs](observers: JsArray[Obs]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply(index: Int): Obs
def foreach(fn: Obs => Unit): Unit

Value parameters

fn

Must not throw

Attributes

def length: Int
def push(observer: Obs): Unit
def removeObserverNow(observer: Obs): Boolean

Attributes

Returns

whether observer was removed (false if it wasn't in the list)