Value | baconjs (original) (raw)
Base class for all Events carrying a value.
Can be distinguished from other events using hasValue
Type parameters
V
Hierarchy
Index
Constructors
Properties
Constructors
constructor
- new Value(value: V): Value
Parameters
value: V
Returns Value
Properties
hasValue
hasValue: boolean = true
id
id: number = ++eventIdCounter
isEnd
isEnd: boolean = false
isError
isError: boolean = false
isInitial
isInitial: boolean = false
isNext
isNext: boolean = false
value
value: V