mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
11 lines
133 B
JavaScript
11 lines
133 B
JavaScript
import { Duplex } from "node:stream"
|
|
|
|
export default (bf) => {
|
|
let tmp = new Duplex()
|
|
|
|
tmp.push(bf)
|
|
tmp.push(null)
|
|
|
|
return tmp
|
|
}
|