mirror of
https://github.com/facebookexperimental/reverie.git
synced 2025-02-10 22:18:12 +00:00
Summary: This makes merge conflicts much easier to handle. Reviewed By: johnhurt Differential Revision: D37564000 fbshipit-source-id: a7f1a2711ffbdbb23c93e2f479f47d0368a2dad9
24 lines
547 B
Rust
24 lines
547 B
Rust
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
use reverie::GlobalTool;
|
|
use reverie::Pid;
|
|
|
|
use crate::config::Config;
|
|
|
|
#[derive(Debug, Default)]
|
|
pub struct GlobalState;
|
|
|
|
#[reverie::global_tool]
|
|
impl GlobalTool for GlobalState {
|
|
type Request = ();
|
|
type Response = ();
|
|
type Config = Config;
|
|
|
|
async fn receive_rpc(&self, _pid: Pid, _req: Self::Request) {}
|
|
}
|