@cloudamqp/amqp-client
Preparing search index...
AMQPExchangeLike
Interface AMQPExchangeLike
Minimum surface a mock exchange handle must expose.
interface
AMQPExchangeLike
{
publish
(
body
:
unknown
,
options
?:
AMQPProperties
&
{
confirm
?:
boolean
;
mandatory
?:
boolean
;
routingKey
?:
string
;
}
,
)
:
Promise
<
unknown
>
;
}
Index
Methods
publish
Methods
publish
publish
(
body
:
unknown
,
options
?:
AMQPProperties
&
{
confirm
?:
boolean
;
mandatory
?:
boolean
;
routingKey
?:
string
;
}
,
)
:
Promise
<
unknown
>
Parameters
body
:
unknown
Optional
options
:
AMQPProperties
&
{
confirm
?:
boolean
;
mandatory
?:
boolean
;
routingKey
?:
string
}
Returns
Promise
<
unknown
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
publish
@cloudamqp/amqp-client
Loading...
Minimum surface a mock exchange handle must expose.