Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit45f3a5a

Browse files
authored
Update README.md
1 parente02d8b6 commit45f3a5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Another problem of asynchronous programming is **error handling**, because Swift
3030

3131
####What about Rx and other such frameworks?
3232

33-
There are many other frameworks that make it easy to use asynchronous code, such as Combine, RxSwift, PromiseKit and so on. They use other approaches that have some drawbacks:
33+
There are many other frameworks that make it easy to use asynchronous code, such as Combine, RxSwift, PromiseKit and so on.**They use other approaches** that have some drawbacks:
3434

3535
- Similar to callbacks, you also need to create chained calls, that’s why you can’t normally use loops, exception handling, etc.
3636
- Usually you need to learn a complex new API with hundreds of methods.
@@ -41,7 +41,7 @@ There are many other frameworks that make it easy to use asynchronous code, such
4141

4242
The[async/await](https://en.wikipedia.org/wiki/Async/await) pattern is an alternative that allows an asynchronous, non-blocking function to be structured in a way similar to an ordinary synchronous function.
4343

44-
It is already well-established in other programming languages and is an evolution in asynchronous programming. The implementation of this pattern is possible thanks to coroutines.
44+
It is already well-established in other programming languages and is an evolution in asynchronous programming. The implementation of this pattern is possible thanks to[coroutines](https://en.wikipedia.org/wiki/Coroutine).
4545

4646
Let’s have a look at the example with coroutine inside of which`await()` suspends it and resumes when the result is available without blocking the thread.
4747

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp