mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-07 08:13:12 +00:00
This will enable the remove of `Waku` prefix on all protocol implementations, which is redundant due to the context.
15 lines
325 B
TypeScript
15 lines
325 B
TypeScript
import type { IEncoder, IMessage } from "./message.js";
|
|
import type {
|
|
PointToPointProtocol,
|
|
ProtocolOptions,
|
|
SendResult,
|
|
} from "./protocols.js";
|
|
|
|
export interface ILightPush extends PointToPointProtocol {
|
|
push: (
|
|
encoder: IEncoder,
|
|
message: IMessage,
|
|
opts?: ProtocolOptions
|
|
) => Promise<SendResult>;
|
|
}
|