Interface SocketAPI<MessageT, RecipientT>

A simple socket interface for sending messages

interface SocketAPI<MessageT, RecipientT> {
    sendMessage(options): void;
}

Type Parameters

  • MessageT

  • RecipientT

Implemented by

Methods

Methods

  • Send a message to a list of recipients Recipients can be arbitrary, but are usually a subscription object on chat service, or a transmission object on notification service

    Parameters

    Returns void

Generated using TypeDoc