-
Notifications
You must be signed in to change notification settings - Fork 274
Open
Labels
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate.
- Described the feature in detail and justified the reason for the request.
- Provided specific use cases and examples.
Feature description
Hi, my main loop is getting stuck for over 3sec and therefore causing the task watchdog to trigger and coredump/restart.
I need a similar mqtt api like esp_websocket_client_initiate_stop() and esp_websocket_client_is_already_stopped()
Those APIs are non-blocking and allow you to poll if the websocket client is already stopped.
How much effort would it be to provide a esp_mqtt_client_initiate_stop() and esp_mqtt_client_is_already_stopped()
Use cases
Single threaded application to save on task stack space because we are running out of memory everywhere
Alternatives
No response
Additional context
No response