// Copyright 2023 Embedded Artistry LLC
// SPDX-License-Identifier: GPL-3.0-only OR Embedded Virtual Machine Commercial License
#ifndef CALLBACK_DISPATCHER_HPP_
#define CALLBACK_DISPATCHER_HPP_

#include <functional>

namespace Callback {

/// Dispatch a callback function to the main thread
/// If you want to enqueue a callback on the event queue
void dispatch(std::function<void(void)> func);

}

#endif // CALLBACK_DISPATCHER_HPP_
