A namespace that organizes methods and properties related to app processes.
Usage
import { appProcess } from "@canva/platform";
tsx
Properties
Required
Sends a message to all active app processes.
To learn more, see appProcess.broadcastMessage
.
Required
Represents the current app process.
To learn more, see appProcess.current
.
Required
Registers a callback that runs when an app process receives a message.
To learn more, see appProcess.registerOnMessage
.
Required
Registers a callback that runs when the state of an app process changes.
To learn more, see appProcess.registerOnStateChange
.
Required
Requests the termination of an app process.
To learn more, see appProcess.requestClose
.