# IMQLocalService interface · @imqueue/rpc

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

A service this process serves itself, as a client in the same process reaches it.

**Signature:**

```typescript
export interface IMQLocalService 
```

## Remarks

Registered by a service started with [IMQServiceOptions.local](https://imqueue.org/api/rpc/latest/rpc.imqserviceoptions.local/), and found by name by every client in the process. The contract is this object and nothing else, because the service and its client need not share one copy of this package: a host that loads a service from its own directory loads that service's own `@imqueue/rpc` beside the host's, and both see one registry.

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [name](https://imqueue.org/api/rpc/latest/rpc.imqlocalservice.name/) | `readonly` | string | The service name, which is also its queue name. |


## Methods


| Method | Description |
| --- | --- |
| [call(request)](https://imqueue.org/api/rpc/latest/rpc.imqlocalservice.call/) | Answers one request as the service would through its queue. |

