Skip to content

Commit

Permalink
[Firestore] Label '@mainactor' isolated APIs of 'FirestoreQuery' (#14163
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ncooke3 authored Dec 11, 2024
1 parent e0eaaea commit 01dc420
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 01dc420

Please sign in to comment.