Skip to main content

Class: MessengerClients

@pvm/notifications.MessengerClients

Constructors

constructor

• new MessengerClients()

Properties

messengers

• messengers: Map<string, AbstractMessengerClient>

Defined in

packages/pvm-notifications/lib/messenger-clients.ts:4

Methods

get

â–¸ get(name): undefined | AbstractMessengerClient

Parameters

NameType
namestring

Returns

undefined | AbstractMessengerClient

Defined in

packages/pvm-notifications/lib/messenger-clients.ts:10


getAll

â–¸ getAll(): AbstractMessengerClient[]

Returns

AbstractMessengerClient[]

Defined in

packages/pvm-notifications/lib/messenger-clients.ts:14


getFirstAvailable

â–¸ getFirstAvailable(): undefined | AbstractMessengerClient

Returns

undefined | AbstractMessengerClient

Defined in

packages/pvm-notifications/lib/messenger-clients.ts:18


register

â–¸ register(name, client): void

Parameters

NameType
namestring
clientAbstractMessengerClient

Returns

void

Defined in

packages/pvm-notifications/lib/messenger-clients.ts:6