Values.CalculationStatusSourceContains information about the status of a notebook calculation.
type nonrec t = {submissionDateTime : Date.t option;The date and time the calculation was submitted for processing.
*)completionDateTime : Date.t option;The date and time the calculation completed processing.
*)state : CalculationExecutionState.t option;The state of the calculation execution. A description of each state follows. CREATING - The calculation is in the process of being created. CREATED - The calculation has been created and is ready to run. QUEUED - The calculation has been queued for processing. RUNNING - The calculation is running. CANCELING - A request to cancel the calculation has been received and the system is working to stop it. CANCELED - The calculation is no longer running as the result of a cancel request. COMPLETED - The calculation has completed without error. FAILED - The calculation failed and is no longer running.
*)stateChangeReason : DescriptionString.t option;The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).
*)}val make :
?submissionDateTime:Date.t ->
?completionDateTime:Date.t ->
?state:CalculationExecutionState.t ->
?stateChangeReason:DescriptionString.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of DescriptionString.t
| `Timestamp of Date.t ])
list ]