Constructor
new Writer(streamnon-null)
Parameters:
| Name | Type | Description |
|---|---|---|
stream |
WritableStream |
- Source:
Members
writer_ :WritableStreamDefaultWriter
Type:
- WritableStreamDefaultWriter
- Source:
Methods
close() → {Promise}
Aborts the underlying stream. Like Reader.close(), this is best-effort
cleanup: once the session is gone there is nothing left to abort.
- Source:
Returns:
- Type
- Promise
write(valuenon-null) → {Promise}
Parameters:
| Name | Type | Description |
|---|---|---|
value |
Uint8Array |
- Source:
Returns:
- Type
- Promise