MCPcopy Create free account
hub / github.com/bytebase/bytebase / emit

Function emit

frontend/src/react/components/monaco/lsp-client.ts:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36const listeners = new Set<() => void>();
37
38const emit = () => {
39 listeners.forEach((listener) => listener());
40};
41
42const lspHost = (() => {
43 const grpcLocal = import.meta.env.BB_GRPC_LOCAL;

Callers 7

setConnStateFunction · 0.70
setHeartbeatFunction · 0.70
cleanupFunction · 0.70
connectFunction · 0.70
useSelectionFunction · 0.50
CheckMethod · 0.50
CheckMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected