The function is called on kernel's idle status message. It is used to keep track number of executed cell or Comm custom messages and the status of kernel.
The function is called on kernel's execute_request
message or Comm message, it is
used to keep track number of scheduled cell or Comm execution message
and the status of kernel.
Current activated notebook.
The option to show the indicator on status bar or toolbar.
A weak map to hold execution status of multiple notebooks.
A flag to show or hide the indicator.
Reset the input execution state.
This function is called on kernel's execute_input
message to start
the elapsed time counter.
Increment the executed time of input execution state
and emit stateChanged
signal to re-render the indicator.
A signal emitted when any model state changes.
The current activated notebook in model.
The display options for progress bar and elapsed time.
Set the display options for progress bar and elapsed time.
Options to be used
Test whether the model is disposed.
Attach a notebook with session context to model in order to keep track of multiple notebooks. If a session context is already attached, only set current activated notebook to input.
The notebook and session context to be attached to model
Dispose the model.
Get the execution state associated with a notebook.
The notebook used to identify execution state.
Generated using TypeDoc
A VDomModel for the execution status indicator.