mirror of
https://github.com/logos-messaging/logos-messaging-js.git
synced 2026-01-20 17:03:13 +00:00
11 lines
264 B
TypeScript
11 lines
264 B
TypeScript
import type { IEncoder, IMessage } from "./message.js";
|
|
import type { ProtocolOptions, SendResult } from "./protocols.js";
|
|
|
|
export interface ISender {
|
|
send: (
|
|
encoder: IEncoder,
|
|
message: IMessage,
|
|
opts?: ProtocolOptions
|
|
) => Promise<SendResult>;
|
|
}
|