0

我需要创建一个重复某些值的流。有了培根,我可以用重复原语做到这一点

4

1 回答 1

1

我完成了下面的代码:

const H = require('highland')

H((push, next) => {
  push(null, 'value to repeat')
  next()
})
于 2015-11-24T15:25:21.513 回答