Skip to content

amqpx v1.0.1


amqpx / index / connect

Function: connect()

connect(...args): Promise<Connection>

Defined in: src/connection/connection-implementation.ts:178

Creates a ConnectionImplementation and establishes the connection in one step. Equivalent to new ConnectionImplementation(...args).connect().

Parameters

ParameterTypeDescription
...args[Connect, RetryStrategy, unknown]Same arguments as the ConnectionImplementation constructor.

Returns

Promise<Connection>

Released under the MIT License.