1.1.2 • Published 4 years ago
@jacobbubu/pull-through v1.1.2
@jacobbubu/pull-through
Rewritten through in TypeScript.
Example
Same Good Old Api, Brand New Underlying Mechanism.
import through from '@jacobbubu/pull-through'
const ts = through(function (data) {
this.queue(data)
}, function (end) {
this.queue(null)
})
Please see the test-cases for the detail.