Skip to content

EventHandle

A handle returned when registering an event handler, used to remove the registration later.

Call handle.remove() when your extension is done listening to an event — for example, when a panel is closed or the user’s workflow is complete.

SDK 2.27.0

readonly remove: () => void

void