nvflare.apis.utils.event module

fire_event_to_components(event: str, components: List[FLComponent], ctx: FLContext)[source]

Fires the specified event and invokes the list of handlers.

Parameters:
  • event – the event to be fired

  • components – components to be invoked

  • ctx – context for cross-component data sharing

Returns: N/A