Initial commit
commit
9b1655755a
@ -0,0 +1 @@
|
||||
node_modules
|
@ -0,0 +1,7 @@
|
||||
# @ppstreams/aborted-marker
|
||||
|
||||
__Note:__ This documentation is incomplete.
|
||||
|
||||
A simple custom error type for marking the end of a [ppstreams](https://ppstreams.cryto.net/) stream. You'd usually only need this module when you're implementing a custom source stream.
|
||||
|
||||
If you just want a stream that produces a value every time one is requested, and that doesn't need to clean up any external resources like file handles or network connections, use the [simple-source](https://www.npmjs.com/package/@ppstreams/simple-source) module instead.
|
@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
const createError = require("create-error");
|
||||
|
||||
module.exports = createError("Aborted", {
|
||||
__ppstreams_isAbortedMarker: true,
|
||||
__ppstreams_specVersion: 1
|
||||
});
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "@ppstreams/aborted",
|
||||
"version": "0.1.0",
|
||||
"main": "index.js",
|
||||
"repository": "http://git.cryto.net/ppstreams/aborted.git",
|
||||
"author": "Sven Slootweg <admin@cryto.net>",
|
||||
"license": "WTFPL OR CC0-1.0",
|
||||
"dependencies": {
|
||||
"create-error": "^0.3.1"
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
create-error@^0.3.1:
|
||||
version "0.3.1"
|
||||
resolved "https://registry.yarnpkg.com/create-error/-/create-error-0.3.1.tgz#69810245a629e654432bf04377360003a5351a23"
|
||||
integrity sha1-aYECRaYp5lRDK/BDdzYAA6U1GiM=
|
Loading…
Reference in New Issue