Monthly Archives: August 2016

CountDownLatch for Swift

In Java, CountDownLatch is a class in the JDK that is often used together with asynchronous tasks, and in tests. An example use case is when you need two HTTP requests to complete before going to the next step, like in a login form where two HTTP requests must complete before the user can start using the app.… Read More »