Tutorial: Platform.quit

Platform.quit

Closes current layout, all it's windows, and their views.

Example

const platform = await fin.Platform.getCurrent();
platform.quit();
// All windows/views in current layout platform will close and platform will shut down