def pub.close

bolt@1.27.0.0 · src/lsp/server.bend:303

import bolt@1.27.0.0/src/lsp/server.bend as Server
import Base
import bolt@1.27.0.0/src/lsp/docs.bend as Docs
import bolt@1.27.0.0/src/lsp/enc.bend as Enc

303# close: the document forgotten, and an empty list published
304def pub.close(ee: Enc.Enc, +uri: String, docs: List<&2, Docs.Doc>) -> Work:
305  noted([pub.note(Enc.cols(ee, ""), uri, [], [])], Docs.del(docs, uri))

Uses (9)

Used by (1)