Open mclang opened 2 months ago
Currently it is possible to run both start and stop many times in a row, which might make the lines on server side messy.
start
stop
Add checking logic which throws an error if some task is already started or if there is nothing to stop.
How to keep track of the latest line - is local cache, e.g SQLite needed?
Related if done using API calls: #13
Problem
Currently it is possible to run both
start
andstop
many times in a row, which might make the lines on server side messy.Solution
Add checking logic which throws an error if some task is already started or if there is nothing to stop.
How to keep track of the latest line - is local cache, e.g SQLite needed?
Related if done using API calls: #13