We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34463e0 commit 382e44fCopy full SHA for 382e44f
Sources/ComposableArchitecture/Effects/Cancellation.swift
@@ -133,9 +133,9 @@ extension EffectPublisher {
133
/// // ...
134
///
135
/// return .run { send in
136
-/// await withTaskCancellation(id: CancelID.response, cancelInFlight: true) {
+/// try await withTaskCancellation(id: CancelID.response, cancelInFlight: true) {
137
/// try await self.clock.sleep(for: .seconds(0.3))
138
-/// await .send(
+/// await send(
139
/// .debouncedResponse(TaskResult { try await environment.request() })
140
/// )
141
/// }
0 commit comments