scanse/sweep-3d-scanner

Refactor routes to share common code

dcyoung opened this issue · 1 comments

Currently routes/scan.js and routes/component_testing.js use a fair amount of similar code related to:

  • executing script
  • shutting down or cleaning up after script errors
  • buffering and sending updates on request

Duplicate code for these routes should be extracted and shared between the two.

Resolved in 04971f7