On September 25th, 2024, we released v2 of the Apps SDK. To learn what’s new and how to upgrade, see Migration FAQ and Migration guide.

appProcess.current

API reference for the appProcess.current property.

Provides methods for interacting with the current app process.

Methods

getInfofunction
Required

Returns information about the current app process.

For more information, see appProcess.current.getInfo.

requestClosefunction
Required

Requests the termination of the current process.

For more information, see appProcess.current.requestClose.

setOnDisposefunction
Required

Registers a callback that runs when the current app process is about to close.

For more information, see appProcess.current.setOnDispose.