Skip to content

Commit

Permalink
js: 补充注释
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Feb 29, 2024
1 parent 1f4c999 commit 224a8f2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion folkmq-lang-js/folkmq/src/client/MqClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,22 @@ export interface MqClient {

/**
* 发送
*
* @param message 消息
* @param toName 发送目标名字
* @param timeout 超时(单位毫秒)
*/
send(message: MqMessage, toName: string, timeout?: number): RequestStream | null;

/**
* 事务回查
*
* @param transactionCheckback 事务回查处理
*/
transactionCheckback(transactionCheckback: IoConsumer<MqMessageReceived>);

/**
* 创建事务
* 新建事务
*/
newTransaction();
}
Expand Down

0 comments on commit 224a8f2

Please sign in to comment.