UnixFdSourceFunc

typealias UnixFdSourceFunc = (<Error class: unknown class>, condition: IoCondition) -> Boolean

The type of functions to be called when a UNIX fd watch source triggers.

  • param fd the fd that triggered the event

  • param condition the IO conditions reported on @fd

  • return false if the source should be removed