Buckets:
| import { Subscriber } from '../Subscriber'; | |
| /** | |
| * Subscribes to an ArrayLike with a subscriber | |
| * @param array The array or array-like to subscribe to | |
| */ | |
| export const subscribeToArray = <T>(array: ArrayLike<T>) => (subscriber: Subscriber<T>) => { | |
| for (let i = 0, len = array.length; i < len && !subscriber.closed; i++) { | |
| subscriber.next(array[i]); | |
| } | |
| subscriber.complete(); | |
| }; | |
Xet Storage Details
- Size:
- 389 Bytes
- Xet hash:
- 37ae70261aedb8587ebfb93971d9c7bad9029d5399ece3b2ab13359fefa49ea9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.