openUrl

Requests Front to open a URL

function openUrl(url: string, cancelToken?: CancelToken): Promise<void>;

Parameters

ParameterTypeDescription
urlStringURL to open.
cancelTokenCancel tokenToken to cancel the request.

Using an internal URL (eg: a conversation URL) will open the corresponding resource in Front.

Return value

The function returns a Promise that resolves when the request has been received by Front.