Waits for condition to become true on socket. When the condition
is met, true is returned.
If cancellable is cancelled before the condition is met, or if the
socket has a timeout set and it is reached before the condition is
met, then false is returned and error, if non-null, is set to
the appropriate value (gio.types.IOErrorEnum.Cancelled or
gio.types.IOErrorEnum.TimedOut).
Waits for condition to become true on socket. When the condition is met, true is returned.
If cancellable is cancelled before the condition is met, or if the socket has a timeout set and it is reached before the condition is met, then false is returned and error, if non-null, is set to the appropriate value (gio.types.IOErrorEnum.Cancelled or gio.types.IOErrorEnum.TimedOut).
See also gio.socket.Socket.conditionTimedWait.