# unregisterLocalService() function · @imqueue/rpc

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

Stops reaching a service in process. Its clients go back to the queue.

**Signature:**

```typescript
export declare function unregisterLocalService(service: IMQLocalService): void;
```

## Parameters


| Parameter | Type | Description |
| --- | --- | --- |
| service | [IMQLocalService](https://imqueue.org/api/rpc/latest/rpc.imqlocalservice/) | the endpoint that was registered; another one registered since under the same name is left in place |


**Returns:**

void

