我需要创建一个重复某些值的流。有了培根,我可以用repeat primitive来做到这一点
最佳答案
我完成了以下代码:
const H = require('highland')
H((push, next) => {
push(null, 'value to repeat')
next()
})
关于javascript - 使用 highland.js 重复值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33888400/