Function

Dex-1Dexfd_watchSince 1.1

  • Creates a new GSource that will fire when events is satisfied.

    This is primarily useful when integrating with legacy systems on a fiber.

    Parameters

    • fd: number

      a file-descriptor

    • events: number

      the POLLOUT|POLLIN style bitmask to watch for

    Returns Dex.Future

    a Dex.Future that resolves to the revents value when events is satisfied.

    1.1