Skip to content

Commit 36331fc

Browse files
authored
fix to send action (#2726)
1 parent d3a9465 commit 36331fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComposableArchitecture/Documentation.docc/Articles/SwiftConcurrency.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ variable name for the capture:
6262
```swift
6363
return .run { [count = state.count] send in
6464
try await Task.sleep(for: .seconds(1))
65-
return .delayed(count) //
65+
await send(.delayed(count)) //
6666
}
6767
```
6868

0 commit comments

Comments
 (0)