OperationQueue + Asynchronous Code: Everything You Need to Know
Too Long; Didn't Read
In Swift, using an operation queue for synchronous code may seem like pure hell because, under the hood, the code is considered complete if the compilation of their code is completed. By the time the asynchronous code is executed, the `Operation` itself will have already been completed. To understand how to solve the problem, you need to understand how the life cycle of the operation works.