CompoundAsyncConstraint

public struct CompoundAsyncConstraint<T> : AsyncConstraint

Undocumented

  • Declaration

    Swift

    public typealias InputType = T
  • Create a new AsyncAndCompoundConstraint instance populated with a predefined list of AsyncConstraints

    Declaration

    Swift

    public init<C>(allOf subconstraints: [C]) where T == C.InputType, C : AsyncConstraint

    Parameters

    constraints

    [AsyncConstraint]

  • Create a new AsyncAndCompoundConstraint instance populated with a unsized list of AsyncConstraints

    Declaration

    Swift

    public init<C>(allOf subconstraints: C...) where T == C.InputType, C : AsyncConstraint

    Parameters

    constraints

    [AsyncConstraint]

  • Create a new AsyncAndCompoundConstraint instance populated with a predefined list of AsyncConstraints

    Declaration

    Swift

    public init<C>(anyOf subconstraints: [C]) where T == C.InputType, C : AsyncConstraint

    Parameters

    constraints

    [AsyncConstraint]

  • Create a new AsyncAndCompoundConstraint instance populated with a unsized list of AsyncConstraints

    Declaration

    Swift

    public init<C>(anyOf subconstraints: C...) where T == C.InputType, C : AsyncConstraint

    Parameters

    constraints

    [AsyncConstraint]

  • Declaration

    Swift

    public func evaluate(with input: T, queue: DispatchQueue = .main, completionHandler: @escaping (Result) -> Void)