IOResult

public enum IOResult<T> where T : Equatable

An result for an IO operation that was done on a non-blocking resource.

  • Signals that the IO operation could not be completed as otherwise we would need to block.

    Declaration

    Swift

    case wouldBlock(T)
  • Signals that the IO operation was completed.

    Declaration

    Swift

    case processed(T)
  • Declaration

    Swift

    public static func ==(lhs: IOResult<T>, rhs: IOResult<T>) -> Bool