A document bundled with processing information. Turned into EditableDocument as soon as the
reporter task has been started.
- meta : Lean.Server.DocumentMeta
The document.
 - initSnap : Lean.Language.Lean.InitialSnapshot
Initial processing snapshot.
 - cmdSnaps : IO.AsyncList IO.Error Lean.Server.Snapshots.Snapshot
Old representation for backward compatibility.
 - diagnosticsRef : IO.Ref (Array Lean.Widget.InteractiveDiagnostic)
Interactive versions of diagnostics reported so far. Filled by
reportSnapshotsand read byhandleGetInteractiveDiagnosticsRequest. 
Instances For
structure
Lean.Server.FileWorker.EditableDocumentextends
Lean.Server.FileWorker.EditableDocumentCore
 :
EditableDocumentCore with reporter task.
- meta : Lean.Server.DocumentMeta
 - initSnap : Lean.Language.Lean.InitialSnapshot
 - cmdSnaps : IO.AsyncList IO.Error Lean.Server.Snapshots.Snapshot
 - diagnosticsRef : IO.Ref (Array Lean.Widget.InteractiveDiagnostic)
 Task reporting processing status back to client. We store it here for implementing
waitForDiagnostics.
Instances For
def
Lean.Server.FileWorker.EditableDocument.versionedIdentifier
(ed : Lean.Server.FileWorker.EditableDocument)
 :
Construct a VersionedTextDocumentIdentifier from an EditableDocument -
Instances For
- objects : Lean.Server.RpcObjectStore
 - expireTime : Nat
The
IO.monoMsNowtime when the session expires. See$/lean/rpc/keepAlive. 
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
 
Instances For
def
Lean.Server.FileWorker.RpcSession.keptAlive
(monoMsNow : Nat)
(s : Lean.Server.FileWorker.RpcSession)
 :
Equations
- Lean.Server.FileWorker.RpcSession.keptAlive monoMsNow s = { objects := s.objects, expireTime := monoMsNow + Lean.Server.FileWorker.RpcSession.keepAliveTimeMs }