method INotifier.send
INotifier.send(notification: NotificationMessage): Promise<void>

Dispatches a notification on every requested channel.

Parameters

notification: NotificationMessage

The notification to send

Return Type

Promise<void>

Throws

AggregateError

If one or more channels fail

Usage

import { type INotifier } from "common/src/index.ts";