Skip to content

Commit 54ec701

Browse files
committed
Add FAQ about convenience APIs
1 parent 992f006 commit 54ec701

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/async-await.md

+1
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ default:
183183
```
184184

185185
- **What happens with all the other configuration options?** Currently users can configure a TLSConfiguration on a request. This API doesn't expose this option. We hope to create a three layer model in the future. For this reason, we currently don't want to add per request configuration on the request invocation. More info can be found in the issue: [RFC: design suggestion: Make this a "3-tier library"][issue-392]
186+
- **What about convenience APIs?** This is our first proposal for an async/await API. We are hesitant at the moment to think about convenience APIs, since we would like to observe actual API usage. Further before we define convenience APIs, we would like to come up with a final API design for the mentioned ["3-tier library"][issue-392], to ensure those would be covered with the convenience API as well.
186187

187188

188189
[SE-0296]: https://github.com/apple/swift-evolution/blob/main/proposals/0296-async-await.md

0 commit comments

Comments
 (0)