[ HasEmitter ]
public virtual signal void discard ()
This signal is emitted when the user has requested that the delegate discard the changes instead of saving them.
Implementations are encouraged to connect to this signal (or implement the virtual method) and revert the document to the last saved state and/or close the document.