openUrl

Requests Front to open a URL

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

Parameters

Parameter

Type

Description

url

String

URL to open.

cancelToken

Cancel token

Token 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.