“异步事件"的定义容易理解吗? [英] Easy to understand definition of "asynchronous event"?

查看:29
本文介绍了“异步事件"的定义容易理解吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个词我遇到过很多次,即使在谷歌搜索之后,仍然无法理解它到底是什么意思.对于某人可以提供的异步事件,是否有一些易于理解(最好附有示例)的定义?

I've encountered this term a lot, and even after Googling, still can't understand what exactly it means. Is there some easy-to-understand (ideally with examples) definition of what an asynchronous event is that someone can provide?

谢谢!

推荐答案

非编程示例:

同步你想要一个比萨当晚餐,你不是冷冻的.所以你必须停止玩让你的公会感到不安的 WOW.你去厨房,做面团,涂上酱汁,加入奶酪,然后用你最喜欢的培根浇头把它闷死.您只花了 20 分钟的时间制作比萨饼,而在烤箱中又花了 10 分钟.计时器发出哔哔声,你把热馅饼拿出来.你可以坐在电脑前,吃掉披萨,然后继续你的突袭.

Synchronous You want a pizza for dinner and you are out of the frozen kind. So you have to stop playing WOW which upsets your guild. You go to the kitchen, make the dough, cover it with sauce, add the cheese, and smother it your favorite bacon topping. You just spent 20 minutes of your time making the pizza with another 10 minutes in the oven. The timer beeps and you pull the hot pie out. You can sit back down in front of your computer, eat the pizza, and continue with your raid.

异步你在玩 WOW 的时候想要一个披萨作为晚餐.您在第 5 台显示器上打开了一个浏览器窗口.您加载 Pizza 网站并订购带有培根油脂大蒜酱的额外奶酪培根披萨.你回到你的突袭中,20 分钟后门铃响了.你得到披萨.你坐在电脑前,吃掉披萨,然后继续你的突袭.

Asynchronous You want a pizza for dinner while playing WOW. You open up a browser window on your 5th monitor. You load up the Pizza website and order your extra cheesy bacon pizza with a side of bacon grease garlic sauce. You go back to your raid and after 20 minutes the door bell rings. You get the pizza. You sit back down in front of your computer, eat the pizza, and continue with your raid.

那么有什么区别呢?一种方法是浪费 20-30 分钟的宝贵 WOW 时间,另一种方法是浪费 20 美元和小费.

So what is the difference? One way you waste 20-30 minutes of precious WOW time, the other way you waste $20 plus tip.

这篇关于“异步事件"的定义容易理解吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆