IMQService.describe() method
Returns this service's description metadata — the exposed method list plus the registered complex types — synchronously.
Signature:
describe(): Description;
Returns:
a plain object matching the Description shape, not a class instance
Remarks
This method is itself exposed, so a remote caller invoking it through a generated client receives a Promise<Description> — but called locally it is not a promise and must not be awaited as one.
The result is built once per service name and cached process-wide for the lifetime of the process, so methods attached after the first call are not reflected. The cache key is the service name while the method list is resolved from the concrete class name, so constructing two differently-classed services under the same name in one process makes them share a single description.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.