temit > TemitClient > (constructor)
TemitClient.(constructor)
Constructs a new instance of the TemitClient class
Signature:
constructor(name: string, options?: TemitOptions);
Parameters
| Parameter | Type | Description |
|---|---|---|
| name | string | The name of the service connecting to RabbitMQ. |
| options | TemitOptions | Optional options block detailing how to connect to RabbitMQ. |