This way, the caller never needs to think about which thread should be used to execute the function. In the previous example, fetchDocs() executes on the main thread; however, it can safely call get, which performs a network request in the background.