MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / getSlackDb

Function getSlackDb

server/src/slack/client.ts:22–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20// Lazy-initialized database instance for user persistence
21let slackDb: SlackDatabase | null = null;
22function getSlackDb(): SlackDatabase {
23 if (!slackDb) {
24 slackDb = new SlackDatabase();
25 }
26 return slackDb;
27}
28
29// Lazy-initialized working group database for access checks
30let workingGroupDb: WorkingGroupDatabase | null = null;

Callers 3

checkChannelAccessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected