mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-25 09:03:12 +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>;
|
|
}
|