[][src]Macro kompact::ignore_control

macro_rules! ignore_control {
    ($component:ty) => { ... };
}
👎 Deprecated since 0.10.0:

Use the ignore_lifecyle macro instead. This macro will be removed in future version of Kompact

A macro that provides an empty implementation of ComponentLifecycle for the given component

Use this in components that do not require any special treatment of control events.

Example

To ignore control events for a component TestComponent, write: ignore_control!(TestComponent);