chovanecm / sacredboard

Dashboard for sacred. Monitor and access your past machine learning experiments.
MIT License
184 stars 39 forks source link

As a developer, I want to prepare functions and execute them later. #57

Closed chovanecm closed 7 years ago

chovanecm commented 7 years ago

For #55 (Plotly plotter), a method of deferring method calls for updates is needed when the chart has not been plotted yet so that the calls of the methods are not forgotten but get automatically executed after the chart is plotted.

There will be a CommandQueue class with methods addCommand(function) and runCommands() that runs all the previously added commands in the order they were added. Once the commands are run, they are forgotten.