Different Ways of Building Flows

Learn about options for starting a flow.

Each flow needs to start somewhere. There are many ways to do this, depending on what we need. In this chapter, we’ll focus on the essential options.

Flow raw values

The simplest way to create a flow is by using the flowOf function, where we define what values this flow should have (similar to the listOf function for a list).

Get hands-on with 1200+ tech skills courses.