Connect to the spoolman sevice via websocket to receive
spool events. In addition, this gives Moonraker a persistent
connection to know when the service is available.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Variables should be contained within the spoolman instance, as in the
future it could be desirable to support multiple instances.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This callback will only fire after a component has requested
a subscription, preventing early updates while the component
is waiting for the subscription request to complete. It is still
valid for components to register the "server:status_update"
event handler if this behavior is not a concern.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Set the minimum value for the sync_rate to 1 second, rather
than above 1 second. When transitioning from a null spool
to a named spool clear tracked extrusion.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>