0.1.4 • Published 5 months ago

@trenskow/stream-awaiter v0.1.4

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
5 months ago

@trenskow/stream-awaiter

Simple package for awaiting a stream to end.

Usage

Usage is pretty strait forward.

import streamAwaiter from '@trenskow/stream-awaiter';

try {
	await streamAwaiter(myStream);
} catch (error) {
	console.error(`Stream failed with error: ${error.message}.`);
}

License

See license in LICENSE

0.1.4

5 months ago

0.1.3

6 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago