registerLocalService() function

Makes a service reachable in process under its name.

Signature:

export declare function registerLocalService(service: IMQLocalService): void;

Parameters

Parameter

Type

Description

service

IMQLocalService

the service's local endpoint

Returns:

void

Remarks

A second service under the same name replaces the first, so that a service started again after it was destroyed is the one called.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.