new BaseStream(stream [, close])
Base class wrapping NodeJS streams
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
stream |
Object | NodeJS stream object |
|
close |
function |
<optional> |
Close handler |
- Since:
-
- 0.1.9
Methods
-
close()
-
Close the stream
- Since:
-
- 0.1.9
Returns:
Resolved when closed
- Type
- Promise