You're viewing archived documentation for @imqueue/rpc v2.1.0. APIs may differ from the current release. View the latest version ↗

send() function

Sends IMQ response with support of after call optional hook

Signature:

export declare function send(request: IMQRPCRequest, response: IMQRPCResponse, service: IMQService): Promise<string>;

Parameters

Parameter

Type

Description

request

IMQRPCRequest

from message identifier

response

IMQRPCResponse

response to send

service

IMQService

imq service to bind {Promise} - send result message identifier

Returns:

Promise<string>