observables v0.1.2 Observables.Obs View Source
Link to this section Summary
Functions
Takes an enumerable and will “spit” each value one by one, every delay seconds. If the enum is consumed, returns done
Range creates an observable that will start at the given integer and run until the last integer. If no second argument is given, the stream is infinite. One can use :infinity as the end for an infinite stream (see: https://elixirforum.com/t/infinity-in-elixir-erlang/7396)
repeat takes a function as argument and an optional interval. The function will be repeatedly executed, and the result will be emitted as an event
Link to this section Functions
Takes an enumerable and will “spit” each value one by one, every delay seconds. If the enum is consumed, returns done.
Range creates an observable that will start at the given integer and run until the last integer. If no second argument is given, the stream is infinite. One can use :infinity as the end for an infinite stream (see: https://elixirforum.com/t/infinity-in-elixir-erlang/7396)
repeat takes a function as argument and an optional interval. The function will be repeatedly executed, and the result will be emitted as an event.