Create an Observable which publishes each value of an Iterable object.
Iterable
const array = each([1, 2, 3]);array.subscribe( (n: number) => void console.log(`received: ${n}`)); Copy
const array = each([1, 2, 3]);array.subscribe( (n: number) => void console.log(`received: ${n}`));
# printsreceived: 1received: 2received: 3 Copy
# printsreceived: 1received: 2received: 3
Generated using TypeDoc
Create an Observable which publishes each value of an
Iterable
object.