Closed martinmmueller closed 1 year ago
Looks good other than minor tweaks
Hey, thanks for the fast reply! I implemented the changes as you requested, but I changed the calls to the recording field in checks (e.g. in Update()) to calls to the Recording Property (which now wraps the the state check as you suggested) instead of making the explicit check every time. I think it should be more readable this way.
Motivation for the Pull request
I wanted the option to pause and resume trackers without dumping the data that was already collected (StartRecording creates a new DataTable), so I quickly built in a Pause and a Resume function with an enum-based state to keep track of what the tracker is currently doing.
Maybe this could be useful to others as well, so I thought I'd put the edit up here.
Some notes: