Files
openclaw/extensions/msteams/src/runtime.ts
2026-06-04 21:59:00 -04:00

14 lines
523 B
TypeScript

// Msteams plugin module implements runtime behavior.
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
import type { PluginRuntime } from "openclaw/plugin-sdk/runtime-store";
const {
setRuntime: setMSTeamsRuntime,
getRuntime: getMSTeamsRuntime,
tryGetRuntime: getOptionalMSTeamsRuntime,
} = createPluginRuntimeStore<PluginRuntime>({
pluginId: "msteams",
errorMessage: "MSTeams runtime not initialized",
});
export { getMSTeamsRuntime, getOptionalMSTeamsRuntime, setMSTeamsRuntime };