PollEvent

public struct PollEvent

Linux only. PollEvent defines the event types the caller is interested in, and the user-data associated with the event.

  • Undocumented

    Declaration

    Swift

    public struct PollEvent
  • Undocumented

    Declaration

    Swift

    public struct PollEvent
  • Creates a PollEvent with the specified event types and user data.

    Declaration

    Swift

    public init(_ types: Types = [], data: UserData = .u64(0))
  • Linux only. The available event types.

    See more

    Declaration

    Swift

    public struct Types: OptionSet