temit > TemitClient > close
TemitClient.close() method
Closes this instance's AMQP connection if it's active.
Currently this is always a cold close and will interrupt consumers and publishers.
! You cannot re-open a closed instance of Temit; to create a new ! connection, create a new TemitClient.
Signature:
close(): Promise<this>;
Returns:
Promise<this>