-
Notifications
You must be signed in to change notification settings - Fork 8
Operators
Emits the first item in a sequence, when the sequence is complete.
First()
To emit as soon as received use TakeFirst()
Emits the last item in a sequence, when the sequence is complete.
First()
To emit as soon as received use TakeLast()
Last()
Emits the item received if is not equal to the last item received.
Distinct()
Emit the item received if it satisfy a condition
Where(ReactiveCondition<T> condition)
Emit the item received transformed by a function
Select(ReactiveFunction<T> function)
Performs an action each time it received an item
ForEach(ReactiveAction<T> function)
Performs an action each time if the item received satisfy a condition
If(ReactiveCondition<T> condition, ReactiveAction<T> function)
Cast the received item
Cast()
Emit the item received transformed by a function to another type of data
Map(ReactiveMap<Torig, Tdest> map)
Skips N items received
Skip(size_t num)
Skips until received item satisfy a condition
SkipUntil(ReactiveCondition<T> condition)
Skips while received item satisfy a condition
SkipWhile(ReactiveCondition<T> condition)
Emits the N first items received
Take(size_t num)
Emits the N item received
TakeAt(size_t index)
Emits the first item received
TakeFirst()
Emits the last item received
TakeLast()
Emits until received item satisfy a condition
TakeUntil(ReactiveCondition<T> condition)
Emits while received item satisfy a condition
TakeWhile(ReactiveCondition<T> condition)
Emits timestamp when a item is received
Millis version
Millis()
Micros version
Micros()
Emits time elapsed since last item is received
Millis version
ElapsedMillis()
Micros version
ElapsedMicros()
Repeat a sequence N times
Repeat(size_t N)
Loops a sequence forever
Loop()
Breaks the reset signal upwards
NotReset()
Split an string using a separator
Split(char separator = ',')
WIP
Buffer()
Join received items using a separator
Join(char separator = ',')
Parse the received item to Int
ParseInt()
Parse the received item to Float
ParseFloat()