Skip to content

Commit 011ab0c

Browse files
committed
fix documentation
1 parent 0b4b559 commit 011ab0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AsyncHTTPClient/AsyncAwait/HTTPClient+execute.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ extension HTTPClient {
116116

117117
/// There is currently no good way to asynchronously cancel an object that is initiated inside the `body` closure of `with*Continuation`.
118118
/// As a workaround we use `TransactionCancelHandler` which will take care of the race between instantiation of `Transaction`
119-
/// in the `body` closure and cancelation from the `onCancel` closure of `with*Continuation`.
119+
/// in the `body` closure and cancelation from the `onCancel` closure of `withTaskCancellationHandler`.
120120
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
121121
private actor TransactionCancelHandler {
122122
private enum State {

0 commit comments

Comments
 (0)