new WritableStream(stream)
Wraps a writable stream from Rhino into a IWritableStream
Parameters:
Name | Type | Description |
---|---|---|
stream |
java.io.OutputStream | Rhino stream object |
- Since:
-
- 0.2.4
- Implements:
Extends
Methods
-
close()
-
Close the stream
- Since:
-
- 0.2.4
- Inherited From:
- Overrides:
Returns:
Resolved when closed
- Type
- Promise
-
write(data)
-
Write data to the underlying destination
Parameters:
Name Type Description data
* Data to write
- Since:
-
- 0.2.4
- Implements:
Returns:
Resolved when ready
- Type
- Promise