DataInputStream.readLineAsync

void readLineAsync(int ioPriority, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

The asynchronous version of gio.data_input_stream.DataInputStream.readLine. It is an error to have two outstanding calls to this function.

When the operation is finished, callback will be called. You can then call gio.data_input_stream.DataInputStream.readLineFinish to get the result of the operation.

Parameters

ioPrioritythe I/O priority of the request
cancellableoptional #GCancellable object, null to ignore.
callbackcallback to call when the request is satisfied.