Riptide.stream

You're seeing just the function stream, go back to Riptide module for more information.
Link to this function

stream(path, opts \\ %{}, state \\ %{internal: true})

View Source

Return a stream of values underneath a path

Options

  • :min - Starting range of query, optional
  • :max - End range of query, optional
  • :limit - Max number of results, optional

Examples

iex> Riptide.stream(["todo:info"]) |> Enum.take(1)
[
  %{"todo1", %{ "text" => "Document riptide" }}
]