You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**** * Turn an array into an observable that emits each item * (and complete) with the given interval time in milliseconds. ****/functionintervalArry<T>(arry: T[],intervalTime=1000): Observable<T>{returnconcat(...arry.map((value: T)=>EMPTY.pipe(delay(intervalTime),startWith(value))));}/**** * Pipeable Operator: * Takes arrays emitted by the source and spaces out their * values by the given interval time in milliseconds ****/functionintervalArray<T>(intervalTime=1000): OperatorFunction<T[],T>{returnpipe(concatMap((v: T[])=>intervalArry(v,intervalTime)));}