You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// `Initialize` is invoked automatically for all Threads when the `ThreadManager` is initialized in your `main()` (or `setup()` for MCU projects) function.
@@ -77,20 +82,23 @@ namespace ESPressio {
77
82
78
83
// Callback Getters
79
84
85
+
/// `GetOnDestroy` returns the callback to be invoked when the Thread is destroyed.
86
+
virtual ThreadCallback GetOnDestroy() = 0;
87
+
80
88
/// `GetOnInitialized` returns the callback to be invoked when the Thread is initialized.
#defineESPRESSIO_THREAD_GARBAGE_COLLECTOR_STACK_SIZE2000// You are encouraged to determine the appropriate stack size for your application, and define it in your platformio.ini file.
#defineESPRESSIO_THREAD_GARBAGE_COLLECTOR_STACK_SIZE2000// You are encouraged to determine the appropriate stack size for your application, and define it in your platformio.ini file.
0 commit comments