Function: refreshSession()

refreshSession(orgUrl): Promise<void>

Extends an active Salesforce session for an initialized org. Concurrent calls return the same in-flight Promise supplied by Lightning Out.

Parameters 

• orgUrl: string

The initialized Salesforce org URL.

Returns 

Promise<void>

Resolves after Lightning Out reloads its hidden authentication iframe.