bakkenbaeck / Teapot

A light-weight URLSession wrapper for building simple API clients.
MIT License
19 stars 3 forks source link

Updating the Teapot initialiser to take a delivery queue argument. #36

Closed elland closed 6 years ago

elland commented 6 years ago

Great if your network request callback does not interact with the UI and you don't want to have it run on the main queue. But also defaulting to the main queue, so you don't have to constantly call DispatchQueue.main.async {} otherwise.

elland commented 6 years ago

This is a small change in LOC but a big structural change. Please be sure we're not missing anything. 👍