Skip to content

Commit

Permalink
Fix Shared publisher docs (#3201)
Browse files Browse the repository at this point in the history
  • Loading branch information
larryonoff committed Jun 24, 2024
1 parent 4f06955 commit b5828b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ComposableArchitecture/SharedState/Shared.swift
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public struct Shared<Value> {
/// ```swift
/// case .onAppear:
/// return .run { [currentUser = state.$currentUser] send in
/// for await _ in currentUser {
/// for await _ in currentUser.publisher.values {
/// await send(.currentUserUpdated)
/// }
/// }
Expand Down

0 comments on commit b5828b2

Please sign in to comment.