YK
Size: a a a
YK
YK
IF
YK
AS
YK
YK
AS
YK
YK
getHistory<T>(dataSource$: Observable<T>, historySize = environment.historySize): Observable<T[]> {
return dataSource$.pipe(
bufferCount(historySize),
scan((history, curr) => {
return history.concat(curr);
}, [])
);
}YK
S
S
YK
YK
OK
remotedebug-ios-webkit-adapter failed to run with the following error: ios_webkit_debug_proxy.exe not found. Please install 'scoop install ios-webkit-debug-proxy'
scoop install ios-webkit-debug-proxy
is already installed
AS
S
YK
getHistory<T>(dataSource$: Observable<T>): Observable<T[]> {
return dataSource$.pipe(
scan((acc: T[], curr: T) => {
const res = acc.concat(curr);
if (res.length > 5) {
res.shift();
}
return res;
}, [])
);
}IF