Workspace.on(‘quit’) method
Triggered when the app is about to quit. Not guaranteed to actually run. Perform some best effort cleanup here.
Signature:
on(name: 'quit', callback: (tasks: Tasks) => any, ctx?: any): EventRef;
Parameters
Parameter | Type | Description |
---|---|---|
name | ’quit’ | |
callback | (tasks: Tasks ) ⇒ any | |
ctx | any | (Optional) |
Returns: