fromObservable
Creates an event containing all items from an Observable.
Arguments
observable
(Observable)
Returns
Event: New event
Example
import {interval} from 'rxjs'import {fromObservable} from 'effector'
//emit value in sequence every 1 secondconst source = interval(1000)
const event = fromObservable(source)
//output: 0,1,2,3,4,5....event.watch(console.log)