Home > @imqueue/rpc > IMQClient > create
IMQClient.create() method
Creates client for a service with the given name
Signature:
static create(name: string, options?: Partial<IMQClientOptions>): Promise<any>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
string | |
|
options |
Partial<IMQClientOptions> |
(Optional) |
Returns:
Promise<any>
{IMQClient}