# IMQLocalService.call() method · @imqueue/rpc

Source: https://imqueue.org/api/rpc/latest/rpc.imqlocalservice.call/
Published: 2026-11-12
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/rpc 3.11.0 — generated reference, not hand-written

Answers one request as the service would through its queue.

**Signature:**

```typescript
call(request: IMQRPCRequest): Promise<IMQRPCResponse>;
```

## Parameters


| Parameter | Type | Description |
| --- | --- | --- |
| request | [IMQRPCRequest](https://imqueue.org/api/rpc/latest/rpc.imqrpcrequest/) | the request as it would arrive off the queue: already a copy the caller no longer holds |


**Returns:**

Promise<[IMQRPCResponse](https://imqueue.org/api/rpc/latest/rpc.imqrpcresponse/)>

the response the service would have sent, before it is copied back to the caller

