Run termapp handler and delete session
Parameters:
Name | Type | Description |
---|---|---|
appEnv |
appEnv
|
appEnv |
returns status object
promise
Example
let r = await termSession(appEnv)
This is a good option for some post processing at the end of edit session
If the post processing is done on the Viya Server, recommend using restaf and restafedit to make
the REST calls.
Note: If sessionID was specified in the call to setup, the session will not be deleted.