//! Exposes a [LocalExecutor] for general use.
//!
//! Async UI Web creates an app-wide executor
//! Use the [get_executor] function to access the executor.
use ;
use LocalExecutor;
use set_executor_future;
thread_local!
/// Get the executor that is driving the framework.
/// Use this executor to spawn your own tasks if you want.
///
/// ```
/// # use async_ui_web::executor::get_executor;
/// # async fn some_async_function() {}
/// # fn example() {
/// let exe = get_executor();
/// let task = exe.spawn(some_async_function());
/// # }
/// ```