Skip to content

Commit 6363ea0

Browse files
authored
fix: typo in iOS Combine docs (#747)
1 parent d884477 commit 6363ea0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README-combine-support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Not all APIs map neatly to the `resultPublisher` pattern. While this asymmetry i
106106

107107
#### `API.subscribe()`
108108

109-
The `API.subscribe()` method exposes a `subscriptionDataPublisher` for the stream of subscription data, and a `connectionStatePublisher` for the status of the underlying connection. Many apps will only need to use the `connectionStatePublisher`, since a closed GraphQL subscription will be reported as a completion on that publisher. The `connectionStatePublisher` exists for apps that need to inspect when the connection initially begins, even if data has not yet been received by that subscription.
109+
The `API.subscribe()` method exposes a `subscriptionDataPublisher` for the stream of subscription data, and a `connectionStatePublisher` for the status of the underlying connection. Many apps will only need to use the `subscriptionDataPublisher`, since a closed GraphQL subscription will be reported as a completion on that publisher. The `connectionStatePublisher` exists for apps that need to inspect when the connection initially begins, even if data has not yet been received by that subscription.
110110

111111
#### `Hub.publisher(for:)`
112112

@@ -279,4 +279,4 @@ sink = Amplify.Storage.uploadFile(key: fileNameKey, local: fileName)
279279
}
280280
}
281281
receiveValue: { result in print("Successful result: \(result)") }
282-
```
282+
```

0 commit comments

Comments
 (0)