Skip to content

MessageBus

reference
1 min readUpdated

Kind: Class

Source: atloria-monorepo/libs/agent-core/src/tools/send-message.tool.ts

Methods

MethodSignatureReturns
registerAgentregisterAgent(name: string, hook: InjectionTurnHook<any>)void
unregisterAgentunregisterAgent(name: string)void
getHookgetHook(name: string)`InjectionTurnHook
listAgentslistAgents()string[]
enqueueenqueue(name: string, message: string)boolean

Where it refuses work

  • MessageBus stops the work with an early return when !hook.

Was this page helpful?

Download as PDF