Answers for "init obserable with values"

0

init obserable with values

// RxJS v6+import { of } from 'rxjs';//emits any number of provided values in sequenceconst source = of(1, 2, 3, 4, 5);//output: 1,2,3,4,5const subscribe = source.subscribe(val => console.log(val));
Posted by: Guest on April-29-2021

Browse Popular Code Answers by Language