Skip to content

Commit

Permalink
Update SwiftConcurrency.md
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrprzeliorz committed Oct 16, 2024
1 parent aae832a commit 09eba14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/SwiftConcurrency.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ stream.asObservable()

### Wrapping an `async` result as a `Single`

If you already have an async piece of work that returns a single result you wish to await, you can bridge it back to the Rx world by using `Single.create`, a special overload, available starting from RxSwift 6.8.0, which takes an `async throws` closure where you can simply await your async work.
If you already have an async piece of work that returns a single result you wish to await, you can bridge it back to the Rx world by using `Single.create`, a special overload, available starting from RxSwift 6.8.0, which takes an `async throws` closure where you can simply await your async work:

```swift
func doIncredibleWork() async throws -> AmazingRespones {
Expand Down

0 comments on commit 09eba14

Please sign in to comment.