MCPcopy
hub / github.com/xintaofei/codeg / subscribeLogSettingsChanged

Function subscribeLogSettingsChanged

src/lib/api.ts:976–983  ·  view source on GitHub ↗
(
  handler: (settings: LogSettings) => void
)

Source from the content-addressed store, hash-verified

974}
975
976export async function subscribeLogSettingsChanged(
977 handler: (settings: LogSettings) => void
978): Promise<() => void> {
979 return getTransport().subscribe<LogSettings>(
980 LOG_SETTINGS_CHANGED_EVENT,
981 handler
982 )
983}
984
985// --- Version Control ---
986

Callers 1

LogsSettingsFunction · 0.90

Calls 2

getTransportFunction · 0.90
subscribeMethod · 0.65

Tested by

no test coverage detected