Skip to content

Commit

Permalink
[Firestore] Label '@mainactor' isolated APIs of 'FirestoreQuery'
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 committed Nov 22, 2024
1 parent cb0bc77 commit 738a819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Firestore/Swift/Source/PropertyWrapper/FirestoreQuery.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ public struct FirestoreQuery<T>: DynamicProperty {
/// The results of the query.
///
/// This property returns an empty collection when there are no matching results.
public var wrappedValue: T {
@MainActor @preconcurrency public var wrappedValue: T {
firestoreQueryObservable.items
}

/// A binding to the request's mutable configuration properties
public var projectedValue: Configuration {
@MainActor @preconcurrency public var projectedValue: Configuration {
get {
firestoreQueryObservable.configuration
}
Expand Down

0 comments on commit 738a819

Please sign in to comment.