@anyit/nestjs-messaging
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

anyit-messaging Library Documentation


Constants

WIRE_ACTOR

  • Description: A constant provider identifier for the wire actor reference.

KEY_VALUE_ACTOR

  • Description: A constant provider identifier for the keyValue actor reference.

ANYIT_LOGGER

  • Description: A constant optional provider identifier for the logger.

MessagingService

Overview

The MessagingService is responsible for message interaction using the Actor model.

Constructor

  • wire: An actor reference.
  • keyValue: An actor reference.
  • logger (optional): Logger instance. Defaults to SilentLogger.

Methods

tell(message: Message)

Sends a message to the wire actor.

Readme

Keywords

none

Package Sidebar

Install

npm i @anyit/nestjs-messaging

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

10.2 kB

Total Files

5

Last publish

Collaborators

  • anton.nagornyi