Server.serve: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lsp/server.bend as Server Lines 727-738 of bolt@1.27.0.0/src/lsp/server.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/lsp/server.bend&start_line=727&end_line=738 import Base import bolt@1.27.0.0/src/lsp/docs.bend as Docs import bolt@1.27.0.0/src/lsp/transport/service.bend as T import bolt@1.27.0.0/src/lsp/checker/answer.bend as C import bolt@1.27.0.0/src/lsp/files/service.bend as F import bolt@1.27.0.0/src/lsp/enc.bend as Enc # serves until exit, the peer's end, or the fuel's (a message each), in # UTF-16 until initialize negotiates def serve( # noqa: L001 serve loop IO ~H: Type, ~tr: T.Transport, ~fs: F.Files, ~ck: C.Checker, fuel: Nat, h3: H, docs: List<&2, Docs.Doc> ) -> IO(Unit): serve.go(~H, ~tr, ~fs, ~ck, fuel, h3, Enc.Utf16{}, docs) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/checker/answer.bend&name=Checker https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/docs.bend&name=Doc https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/enc.bend&name=Enc https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/files/service.bend&name=Files https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/server.bend&name=serve.go https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/transport/service.bend&name=Transport