You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sven Slootweg e4432cea8b 0.1.7 3 months ago
.gitignore Initial commit 2 years ago Fix missed name replacement 8 months ago
index.js Swap around abort argument order 3 months ago
package.json 0.1.7 3 months ago


A simple abort handler for Promistreams that just passes on an incoming abort notification to the direct upstream.


"use strict";

const propagateAbort = require("@promistream/propagate-abort");
const propagatePeek = require("@promistream/propagate-peek");

module.exports = function makeStream() {
	return {
		description: `pass-through stream`,
		read: (source) => {
			/* This example stream just passes through the upstream value */
		abort: propagateAbort,
		peek: propagatePeek