Dispatch Call Controller 派遣呼叫控制器
Dispatch Group Call 调度群呼叫
Dispatch Private Call 调度专向呼叫
For Remote Call Dispatch 对于远程调用派发
A basic use of a selector is for simple dispatch, which means you can dynamically reroute the destination of a service call from one component or import to another.
选择器的基本用途是进行简单的分派,这意味着您可以将服务调用的目标从一个组件或导入动态地重新路由到或导入另一个组件。
That is, a call to dispatch (foo, bar) might be a close fit with a defined rule (foo, bar) — but it might also be a loose (rather than non -) fit with (FooParent, BarParent).
也就是说,dispatch (foo, bar)调用可能是采用已定义规则(foo, bar)的较合适的分派,但是也可能与(FooParent, BarParent)规则松散(并不是不)配合。
Without needing to think about dispatch further, the multimethods.Dispatch class will select the "best fit" for a given call to a dispatcher.
无需深入研究分派, multimethods.Dispatch 类将为给定分派器调用选择“最合适”的分派。
应用推荐