I have an app that have 2 tables (both uses remote models, the data in one table don't overlap with the other):
- one with the new jobs
- one with the (current)/stopped/paused jobs
Then I have a main viewer that shows info and let you "act" on the current selected job.
Currently this works like this:
- Click on a job in the new jobs table
- The job object dispatched in the event is sent to the main viewer.
I would like to be able to implement a custom Job class that would be instanced for each job that has been loaded. In this way I could do some easy tasks like: job.pause()
or job.start(worker.id);