callbag-concat-with

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

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
callbag-concat-with
101.2.05 years ago6 years agoMinified + gzip package size for callbag-concat-with in KB

Readme

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
  }),
)