blob: ba76c1e641face9c922a9701c70b50a90bfefc7b [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.modular;
/// An interface implemented by applications that wish to terminate gracefully.
@discoverable
closed protocol Lifecycle {
/// The client of this application has requested that this application
/// terminate gracefully.
///
/// If the application does not terminate itself in a timely manner, the client
/// may forcibly terminate the application.
strict Terminate();
};