fusion_addin_framework.utils.execute_from_event_deco¶
- fusion_addin_framework.utils.execute_from_event_deco(event_id: str)¶
Utility decorator which allows you to execute the passed Callable from witihn a custom event. This is needed when you want to trigger some Fusion related actions from a thread or other external non Fusion stimuli. You can also decorate functions which receive arguments (in contrast to the execute_as_event utility function).
- Parameters
event_id (str) – The event id of the event from which the passed Callable gets executed. The event must has been created already with the ‘create_custom_event’ method where dynamic_use was set to True.