An object that contains methods for interacting with the current process.
Usage
import { appProcess } from "@canva/platform";console.log(appProcess.current);
tsx
Properties
Required
Gets information about the current process.
To learn more, see appProcess.current.getInfo
.
Required
Requests the termination of the current process.
To learn more, see appProcess.current.requestClose
.
Required
Registers a callback that runs when the current process is about to close.
To learn more, see appProcess.current.setOnDispose
.