map(limit:acceptableFailure:_:)

public func map<C>(limit: Int? = nil, acceptableFailure: FailureRate = .none, _ transform: @escaping (Link<B.Iterator.Element>) -> Link<C>) -> Link<[C]>

When the inbound type is a Collection, you may call map to asynchronously map over the elements of B in parallel, transforming them with transform subchain.

  • C

    Declaration

    Swift

    public func map<C>(limit: Int? = nil, acceptableFailure: FailureRate = .none, _ transform: @escaping (Link<B.Iterator.Element>) -> Link<C>) -> Link<[C]>