EventHandler: (payload?: EventPayload) => void | Promise<void>