How to use the expand function from rxjs
Find comprehensive JavaScript rxjs.expand code examples handpicked from public code repositorys.
117 118 119 120 121 122 123 124 125 126
} return createDirs$(path.dirname(toFilePath)).pipe( switchMap(() => downloadChunk$(0).pipe( expand(({end, length}) => { let downloaded = isDownloaded({end, length}) return downloaded ? EMPTY : downloadChunk$(end + 1) }) )
45
178
34