Closed fabianfett closed 2 years ago
Some follow ups we want to do:
Task{} Task{}
and sending messages to an actor from those (there's no ordering guarantee); I explain the issue here: https://forums.swift.org/t/task-is-order-of-task-execution-deterministic/51553/2Thanks David!
Thanks a lot for the edits @kmahar !
- [ ] example with async sequence
Soto has an AsyncSequence
sample used for paginated results. It is full of generics so might not be the simplest example though. https://github.com/soto-project/soto-core/blob/async-await/Sources/SotoCore/AWSClient%2BPaginate%2Basync.swift
Going through including feedback last time and will merge, thanks for all the comments!
Ok i think i applied all changes. Please do feel free to send in PRs and keep this guide growing with more patterns and ideas!
Meh can't edit this PR branch, so will merge and PR followups
This is a first draft for "Swift Concurrency adoption guidelines for Swift Server Libraries" that was written by @ktoso and me. Looking forward to your input.