Embed presentation
Download to read offline



![What is problem ?
Token
User list
{
userList: [
0001,
0002,
0003
]
}
User Info * M
{
Id: 0001,
Name: HelloWorld
Url: https://xxx.app
}
Relationship
User Info * N
CRUD (
Creat,
Read,
Update,
Delete
)
???](https://image.slidesharecdn.com/coroutine-181204004544/75/Coroutine-4-2048.jpg)
























The document discusses coroutines and their advantages over threads. Coroutines allow for multiple tasks to run concurrently without blocking threads. They are useful for handling I/O operations more efficiently than threads. The document provides code examples of using coroutines to simulate long-running calculations running in the background without blocking the main thread. It concludes that coroutines are better than threads for I/O operations but threads are still more efficient overall and coroutines do not guarantee thread safety.



![What is problem ?
Token
User list
{
userList: [
0001,
0002,
0003
]
}
User Info * M
{
Id: 0001,
Name: HelloWorld
Url: https://xxx.app
}
Relationship
User Info * N
CRUD (
Creat,
Read,
Update,
Delete
)
???](https://image.slidesharecdn.com/coroutine-181204004544/75/Coroutine-4-2048.jpg)






















