易于理解的&QUOT定义,异步事件"? [英] Easy to understand definition of "asynchronous event"?

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

问题描述

我遇到这个词很多,甚至是谷歌搜索后,依然无法准确理解这意味着什么。有什么样的异步事件是有人可以提供一些易于理解的(最好举例)定义?

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 clan. 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 conquest.

异步
你想要一个比萨饼晚餐,而玩WOW。您在第五届显示器上打开一个浏览器窗口。您加载的比萨网站和培根油脂蒜蓉辣酱的一侧订购你的额外俗气培根比萨。你回到你的团队,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 conquest.

所以,有什么区别?一种方法你浪费20-30分钟precious的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.

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

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