@buildable/messages
Version:
A fully managed messaging service that lets you easily exchange event data across any app or resource.
17 lines (16 loc) • 649 B
TypeScript
import { Event, ListenerIdInfo, TransactionInput } from "../types";
export declare const SEPERATOR: string;
export declare const sleep: (n: number) => Promise<unknown>;
export declare const getTransactionInput: (event: Event) => TransactionInput;
export declare const getPartialTopic: ({ eventName, platform, label }: {
eventName: string;
platform: string;
label: string;
}) => string;
export declare const getListenerId: ({ eventName, txKey, platform, label }: ListenerIdInfo) => string;
export declare const deconstructListenerId: (id: string) => {
platform: string;
label: string;
eventName: string;
txKey: string;
};