Creates a new GSource that will fire when events is satisfied.
This is primarily useful when integrating with legacy systems on a fiber.
| fd |
a file-descriptor |
| events |
the POLLOUT|POLLIN style bitmask to watch for |
|
a [class@Dex.Future] that resolves to the revents value when |