blob: f0d64ca4f90e04f66eae6b51a019be29d6d6e255 [file] [log] [blame]
// Copyright 2019 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.
use anyhow::Error;
mod app;
mod view;
/// Entry point for the `graphical_session`. It creates an instance of the `App`, runs it, and
/// waits for it to finish.
#[fuchsia_async::run_singlethreaded]
async fn main() -> Result<(), Error> {
let mut app = app::App::new().await?;
app.run().await
}