The previous flow creates a task completion source and a task everytime, this flow has the following benefits:
- Creating 1 object less on construction of every task
- Properly follows
instancetype
return type, as it will always call intoself.init()
The previous flow creates a task completion source and a task everytime, this flow has the following benefits:
instancetype
return type, as it will always call into self.init()