Skip to content

Andarist/callbag-concat-with

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published