text: // Copyright (c) 2019-2021 Fango Developers
  // Copyright (c) 2018-2021 Fandom Gold Society
  // Copyright (c) 2018-2019 Conceal Network & Conceal Devs
  // Copyright (c) 2016-2019 The Karbowanec developers
  // Copyright (c) 2012-2018 The CryptoNote developers
  //
  // This file is part of Fango.
  //
  // Fango is free software distributed in the hope that it
  // will be useful, but WITHOUT ANY WARRANTY; without even the
  // implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  // PURPOSE. You can redistribute it and/or modify it under the terms
  // of the GNU General Public License v3 or later versions as published
  // by the Free Software Foundation. Fango includes elements written 
  // by third parties. See file labeled LICENSE for more details.
  // You should have received a copy of the GNU General Public License
  // along with Fango. If not, see <https://www.gnu.org/licenses/>.
  
  #pragma once 
  #include <chrono>
  #include <System/ContextGroup.h>
  #include <System/Timer.h>
  
  namespace System {
  
  class ContextGroupTimeout {
  public: 
    ContextGroupTimeout(Dispatcher&, ContextGroup&, std::chrono::nanoseconds);
  
  private: 
    Timer timeoutTimer;
    ContextGroup workingContextGroup;
  };
  
  }
  