Module CustomReadonlyEditorProvider.Make

Parameters

Signature

type nonrec t = T.t t
val openCustomDocument : t -> uri:Uri.t -> openContext:CustomDocumentOpenContext.t -> token:CancellationToken.t -> T.t Promise.t
val resolveCustomEditor : t -> document:T.t -> webviewPanel:WebviewPanel.t -> token:CancellationToken.t -> unit Promise.t
val create : resolveCustomEditor: (document:T.t -> webviewPanel:WebviewPanel.t -> token:CancellationToken.t -> unit Promise.t) -> openCustomDocument: (uri:Uri.t -> openContext:CustomDocumentOpenContext.t -> token:CancellationToken.t -> T.t Promise.t) -> t