mapAnnotations(_:)

Returns an array containing the results of mapping the given async closure over the sequence’s annotations.

Declaration

func mapAnnotations<Feature, Input, Output>(_ transform: (Input) async throws -> Output) async rethrows -> [AnnotatedFeature<Feature, Output>] where Self.Element == AnnotatedFeature<Feature, Input>