Creating a Thread-Safe Channel with CopyOnWriteArrayList | CodeSignal Learn