module Gio::PollableOutputStream


#GPollableOutputStream 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.

Direct including types

Defined in:


Class Method Summary

Instance Method Summary

Class Method Detail

def self.g_type : UInt64 #

Instance Method Detail

def can_poll : Bool #

def create_source(cancellable : Gio::Cancellable?) : GLib::Source #

def is_writable : Bool #

abstract def to_unsafe #

def write_nonblocking(buffer : Enumerable(UInt8), cancellable : Gio::Cancellable?) : Int64 #

def writev_nonblocking(vectors : Enumerable(Gio::OutputVector), cancellable : Gio::Cancellable?) : Gio::PollableReturn #