Created
April 9, 2025 07:20
-
-
Save jacobsapps/2a8aa0723834e39a81b31b02bacb71bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final class ContactsService { | |
let userAPI = UserAPI() | |
private(set) var contacts = [Contact]() | |
func fetchContacts() async throws { | |
contacts = try await userAPI.fetchAllUsersInContacts() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment