Add fancy Action stopping to documentation
Using
from labthings.tasks import current_task_stopped
Youre able to do things like:
if current_task_stopped():
return
to cleanly stop the Action before the timeout brutally kills the thread.
Currently they're always brutally killed, so you lose nothing by not implementing this. It's just nicer if you do,.