Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-executor / server / createTRPCContext

Function: createTRPCContext() ​

createTRPCContext(opts): Promise<ExecutorContext>

Defined in: packages/chaingraph-executor/server/trpc/context.ts:34

Creates context for tRPC procedures in the message bus Uses the ServiceFactory to get service instances

Parameters ​

opts ​

CreateHTTPContextOptions

Returns ​

Promise<ExecutorContext>

Licensed under BUSL-1.1