0xLeif / 0xLeif/Fork

Refine the name of `asyncMap` function

Aberta Para iniciantes
#30 0 comentários 1 reação 0 responsáveis Ver no GitHub
Linguagem predominante
Swift
Estrelas
11
Forks
1
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

I would suggest renaming in to `concurrentMap` because from `asyncMap` does not clearly states the parallel nature of execution on `Sequence` elements. I could be confused with executing `async` function on each element one by one, with suspension points but serially.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Find the asyncMap function in the codebase, likely in a file like Fork.swift or a concurrency utility module. Review its implementation to understand how it maps over Sequence elements concurrently. Rename the function and all its references, then run any existing tests to ensure the change doesn't break functionality.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Domínio
backend-api-design
Tipo de issue
Refatoração
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
65/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.