Skip to content

The Different Types of EventStreams and their Usage

JordanMartinez edited this page Mar 16, 2017 · 5 revisions

Diagram showing EventStream "Ecosystem"

To see a bigger version of the photo, right-click on it and click "View Image"

EventStream "Ecosystem"

Various ways to create an EventStream...

...Using the factory methods from EventStreams

  • Time-related:

    • ticks()
    • animationFrames()
    • animationTicks()
  • Value-related / List-related:

    • valuesOf()
    • nonNullValuesOf()
    • changesOf()
    • invalidationsOf()
    • sizesOf()
  • Other

    • eventsOf()
    • never() - not shown in diagram

...using EventSource

  • new EventSource()

...using Val/Var

  • valuesOf()
  • changesOf()
  • invalidationsOf()