mirror of
https://github.com/logos-messaging/logos-messaging-js.git
synced 2026-01-26 20:03:11 +00:00
* feat: leverage protocol peer management * chore: add test * chore: address comments * chore: add todo
11 lines
286 B
TypeScript
11 lines
286 B
TypeScript
import type { IEncoder, IMessage } from "./message.js";
|
|
import { ProtocolUseOptions, SDKProtocolResult } from "./protocols.js";
|
|
|
|
export interface ISender {
|
|
send: (
|
|
encoder: IEncoder,
|
|
message: IMessage,
|
|
sendOptions?: ProtocolUseOptions
|
|
) => Promise<SDKProtocolResult>;
|
|
}
|