Skip to content

Instantly share code, notes, and snippets.

Last active Feb 20, 2022
What would you like to do?
func refreshDocuments() {
Task(priority: .userInitiated) {
do {
self.documents = try await fetcher.fetchAllDocuments()
catch {
// Handle error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment