ChainGraph API Documentation / @badaitech/chaingraph-trpc / server / initializeContext
Function: initializeContext()
initializeContext(
_db,_flowStore,_folderStore,_nodeRegistry,_nodesCatalog,_mcpStore):void
Defined in: packages/chaingraph-trpc/server/context.ts:47
Initialize application context with stores Should be called once when application starts
Parameters
_db
NodePgDatabase<Record<string, unknown>> & object
_flowStore
_folderStore
_nodeRegistry
_nodesCatalog
_mcpStore
Returns
void