Method StopMonitoringAsync
Namespace: Belay.Core.Examples
Assembly: Belay.Core.dll
StopMonitoringAsync()
Stop continuous monitoring thread.
csharp
[Task]
[PythonCode("\n print('Stopping continuous monitoring...')\n globals()['monitoring_active'] = False\n \n # Wait a moment for thread to notice\n import time\n time.sleep_ms(100)\n \n print('Monitoring stopped')\n ")]
Task StopMonitoringAsync()