Skip to content

[F] addService

function addService(
program,
namespace,
details?
): void;

Registers the namespace as a service, merging supplied details over any existing record. Omitted details preserve existing values; the namespace is always retained as the service’s type.

ParameterTypeDescription
programProgramProgram
namespaceNamespaceNamespace
detailsServiceDetailsService details

void