MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / reloadRuntimeSettingsIfSafe

Function reloadRuntimeSettingsIfSafe

desktop/runtime/runtime-registry.ts:93–98  ·  view source on GitHub ↗
(
  sessionPath: string,
  options: { useMutationLock?: boolean | undefined } = {},
)

Source from the content-addressed store, hash-verified

91}
92
93export async function reloadRuntimeSettingsIfSafe(
94 sessionPath: string,
95 options: { useMutationLock?: boolean | undefined } = {},
96): Promise<boolean> {
97 return settingsRefreshController.reloadIfSafe(sessionPath, options)
98}
99
100export async function markRuntimeSettingsStale(sessionPath: string | null | undefined) {
101 const runtimeKey = getPersistedSessionPath(sessionPath ?? null)

Calls

no outgoing calls

Tested by

no test coverage detected