Creates a [class@Dex.
Future] that resolves when socket satisfies condition.
The future resolves to the [flags@GLib.IOCondition] reported by the socket source. This may include additional conditions such as g_io_hup or g_io_err.
| socket |
a [class@Gio.Socket] |
| condition |
a [flags@GLib.IOCondition] to wait for |
|
a [class@Dex.Future] that resolves to a [flags@GLib.IOCondition]. |