Gjsify LogoGjsify Logo

Hierarchy

  • PollFunc

Callable

  • PollFunc(ufds: GLib.PollFD, nfsd: number, timeout: number): number
  • Specifies the type of function passed to g_main_context_set_poll_func(). The semantics of the function should match those of the poll() system call.

    Parameters

    • ufds: GLib.PollFD

      an array of #GPollFD elements

    • nfsd: number

      the number of elements in ufds

    • timeout: number

      the maximum time to wait for an event of the file descriptors. A negative value indicates an infinite timeout.

    Returns number

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method