Instance Property

getPort

A callback to retrieve the native Mach port represented by the source. This callback is called when the source is either added to or removed from a run loop mode.

Declaration

var getPort: ((UnsafeMutableRawPointer?) -> mach_port_t)!