[−][src]Macro kompact::ignore_lifecycle
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 lifecycle events.
Example
To ignore lifecycle events for a component TestComponent
, write:
ignore_lifecycle!(TestComponent);
This is equivalent to impl ComponentLifecycle for TestComponent {}
and uses the default implementations for each trait function.