pub unsafe extern "C" fn esp_event_handler_instance_unregister(
    event_base: esp_event_base_t,
    event_id: i32,
    instance: esp_event_handler_instance_t
) -> esp_err_t
Expand description

@brief Unregister a handler from the system event loop.

This function does the same as esp_event_handler_instance_unregister_with, except that it unregisters the handler instance from the default event loop.

@param[in] event_base the base of the event with which to unregister the handler @param[in] event_id the ID of the event with which to unregister the handler @param[in] instance the instance object of the registration to be unregistered

@return

  • ESP_OK: Success
  • ESP_ERR_INVALID_ARG: Invalid combination of event base and event ID
  • Others: Fail