SelectResult

public enum SelectResult

Return values of the waitForSelect function.

  • The event has occured.

    Declaration

    Swift

    case ready
  • Nothing happened within the timeout period.

    Declaration

    Swift

    case timeout
  • An error occured.

    Declaration

    Swift

    case error(message: String)

    Parameters

    message

    A textual description of the error that occured.

  • Either the remote or a parralel thread closed the connection unexpectedly.

    Declaration

    Swift

    case closed