Function esp_idf_sys::esp_event_handler_unregister_with
source ยท pub unsafe extern "C" fn esp_event_handler_unregister_with(
event_loop: esp_event_loop_handle_t,
event_base: esp_event_base_t,
event_id: i32,
event_handler: esp_event_handler_t,
) -> esp_err_t
Expand description
@brief Unregister a handler from a specific event loop (legacy).
This function behaves in the same manner as esp_event_handler_unregister, except the additional specification of the event loop to unregister the handler with.
@param[in] event_loop the event loop with which to unregister this handler function, must not be NULL @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] event_handler the handler to unregister
@return
- ESP_OK: Success
- ESP_ERR_INVALID_ARG: Invalid combination of event base and event ID
- Others: Fail