FTXUI  5.0.0
C++ functional terminal UI.
Loading...
Searching...
No Matches
task.hpp
Go to the documentation of this file.
1// Copyright 2022 Arthur Sonzogni. All rights reserved.
2// Use of this source code is governed by the MIT license that can be found in
3// the LICENSE file.
4#ifndef FTXUI_COMPONENT_ANIMATION_HPP
5#define FTXUI_COMPONENT_ANIMATION_HPP
6
7#include <functional>
8#include <variant>
10
11namespace ftxui {
13using Closure = std::function<void()>;
14using Task = std::variant<Event, Closure, AnimationTask>;
15} // namespace ftxui
16
17#endif // FTXUI_COMPONENT_ANIMATION_HPP
std::shared_ptr< T > Make(Args &&... args)
Definition component.hpp:26
std::variant< Event, Closure, AnimationTask > Task
Definition task.hpp:14
std::function< void()> Closure
Definition task.hpp:13