Skip to content

Commit 6b71b5e

Browse files
authored
Gardening (#140)
1 parent 3abffe4 commit 6b71b5e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Sources/Atoms/Atom/PublisherAtom.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@preconcurrency import Combine
1+
import Combine
22

33
/// An atom type that provides a sequence of values of the given `Publisher` as an ``AsyncPhase`` value.
44
///

Sources/Atoms/Context/AtomTestContext.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@preconcurrency import Combine
1+
import Combine
22

33
/// A context structure to read, watch, and otherwise interact with atoms in testing.
44
///

Sources/Atoms/Core/Atom/Atom.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public extension Atom {
5252
EmptyEffect()
5353
}
5454

55+
@MainActor
5556
func updated(newValue: Produced, oldValue: Produced, context: CurrentContext) {}
5657
}
5758

0 commit comments

Comments
 (0)