Fix Shared publisher docs (#3201)

This commit is contained in:
larryonoff
2024-06-24 21:22:23 +02:00
committed by GitHub
parent 4f06955ffa
commit b5828b231e

View File

@@ -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)
/// }
/// }