New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

rxjs-async-iterator

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rxjs-async-iterator

Converts async iterators from RxJS observables to consume in for-await-of loops

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
1
-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

Async iterators for RxJS

Adds async iterators (aka for-await-of loops)

Installation

The package is served via npm:

npm i --save rxjs-async-iterator

Usage

import {from} from 'rxjs';
import {delay} from 'rxjs/operators';
import {toAsyncIterable} from 'rxjs-async-iterator';

const numbers$ = from([1, 2, 3]).pipe(delay(100));

for async (const value of toAsyncIterable(numbers$)) {
    console.log(value);
}

Keywords

Rx

FAQs

Package last updated on 27 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts