callbag-concat-with
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

callbag-concat-with

Callbag operator that emits items given it as arguments after it finishes emitting items emitted by source.

Example

import concatWith from 'callbag-concat-with'
import forEach from 'callbag-for-each'
import fromIter from 'callbag-from-iter'
import pipe from 'callbag-pipe'

pipe(
  fromIter([1, 2, 3]),
  concatWith(4, 5, 6),
  forEach(value => {
    console.log(value) // 1, 2, 3, 4, 5, 6
  }),
)

Readme

Keywords

Package Sidebar

Install

npm i callbag-concat-with

Weekly Downloads

7,571

Version

1.2.0

License

MIT

Unpacked Size

3.4 kB

Total Files

5

Last publish

Collaborators

  • andarist