@promistream/aborted

Note: This documentation is incomplete.

Usage no npm install needed!

<script type="module">
  import promistreamAborted from 'https://cdn.skypack.dev/@promistream/aborted';
</script>

README

@promistream/aborted

Note: This documentation is incomplete.

A simple custom error type for marking the end of a Promistream. 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 module instead.