use crate::*;
/// Creates a handler function from an async function.
///
/// # Arguments
///
/// - `Fn(Context) -> Fut + Send + Sync + 'static` - The async function to wrap.
/// - `Future<Output = ()> + Send + 'static` - The future type returned by the function.
///
/// # Returns
///
/// - `HandlerFunc` - A boxed handler function.