DataInputStream.readLineAsync

The asynchronous version of 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 DataInputStream.readLineFinish to get the result of the operation.

class DataInputStream
void
readLineAsync

Parameters

ioPriority int

the [I/O priority][io-priority] of the request

cancellable Cancellable

optional gio.Cancellable object, NULL to ignore.

callback GAsyncReadyCallback

callback to call when the request is satisfied.

userData void*

the data to pass to callback function.

Meta

Since

2.20