Options
All
  • Public
  • Public/Protected
  • All
Menu

Module agent/agentUtils/listener

Index

Variables

Functions

Variables

default: { subscribe: (agent: Agent, natsClient: NatsClientService) => Promise<void> }

Type declaration

  • subscribe: (agent: Agent, natsClient: NatsClientService) => Promise<void>
      • Subscribes to events on nats

        Parameters

        • agent: Agent

          the agent that has been initialized on startup

        • natsClient: NatsClientService

          the client that specifies how events are published

        Returns Promise<void>

Functions

  • Subscribes to events on nats

    Parameters

    • agent: Agent

      the agent that has been initialized on startup

    • natsClient: NatsClientService

      the client that specifies how events are published

    Returns Promise<void>

Generated using TypeDoc