Do You Act-or React 主动还是被动
Young children don't know how one is supposed to act or react in varioussituations, and they learn by watching the important people in their lives, most notably their parents.
小宝宝不懂在各种各样的场合里一个人应该如何行事又会得到什么样的回报,他们是通过观察自己生活中重要人物的举止来学习的,大部分情况下是他们的父母。
Typically, the act method contains a loop that will repeat forever and then calls either react (for a lightweight actor) or receive (for a heavyweight actor that remains bound to its thread).
通常act方法包含一个无止境重复的循环,然后调用react(面向轻量级actor)或receive(面向仍然与其线程绑定的重量级actor)。
应用推荐