# \#semaphores

**URL:** https://forums.swift.org/tag/semaphores/511.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Synchronize nested async network requests inside a while loop by using Semaphores](https://forums.swift.org/t/synchronize-nested-async-network-requests-inside-a-while-loop-by-using-semaphores/47368)

<div class="topic-metadata">

**Author:** [@Swift\_Coder](https://forums.swift.org/u/Swift_Coder)\
**Replies:** 3\
**Last updated:** [April 12, 2021, 11:04pm UTC](https://forums.swift.org/t/synchronize-nested-async-network-requests-inside-a-while-loop-by-using-semaphores/47368 "2021-04-12T23:04:31Z")

</div>

I have a func that gets a list of Players. When i fetch the players i need only to show those who belongs to the current Team so i am showing only a subset of the original list by filtering them. I don't know in advance,…
