Saltar al contenido principal

Function: resolve()

function resolve(alias, options): Promise<string>;

Defined in: src/directory.ts:250

The service user id behind an alias, for a write tool that receives an alias from the model. Follows links. Keep the result on your side: it's for calling your own service, never for the model.

Parameters​

ParameterType
aliasstring
options{ service: string; }
options.servicestring

Returns​

Promise<string>