## fromIterable ```ts function fromIterable( iterable: Iterable, ): IObservable ``` Creates an Observable from an Iterable. It emits values of the iterable one by one. See [fromIterator](../from-iterator/from-iterator.md) for more details. ### Examples #### Simple Iterable which emits values from 0 to 9 ```ts const subscribe = fromIterable( (function * () { for (let i = 0; i < 10; i++) { yield i; } })() ); subscribe((notification) => { console.log(notification.name, ':', notification.value); }); ``` Output: ```text next: 0 next: 1 ... next: 9 complete ```