Flushes any buffered data to the stream's backing store.
Only meaningful for writable streams.
| this |
a Stream object |
| cancellable |
optional Cancellable object, or null |
|
0 on success or -1 on fail along with setting throws |