Gio.PollableOutputStream
const Gio = imports.gi.Gio; let pollable_output_stream = new Gio.PollableOutputStream();
Gio.PollableOutputStream is implemented by #GOutputStreams that can be polled for readiness to write. This can be used when interfacing with a non-GIO API that expects UNIX-file-descriptor-style asynchronous I/O rather than GIO-style.
Since 2.28
Prerequisites
PollableOutputStream requires Gio.OutputStream
Known Implementations
PollableOutputStream is implemented by ConverterOutputStream, MemoryOutputStream and UnixOutputStream