pub fn async_after_hook_handler<F, Fut>(
handler: F,
) -> impl for<'a> Fn(&'a AuthContext, &'a ApiRequest, ApiResponse) -> PluginAfterHookFuture<'a> + Send + Sync + Clone + 'staticwhere
F: for<'a> Fn(AuthContext, &'a ApiRequest, ApiResponse) -> Fut + Send + Sync + Clone + 'static,
for<'a> Fut: Future<Output = Result<PluginAfterHookAction, RustAuthError>> + Send + 'a,Expand description
Wraps an async after-hook handler so plugin authors do not need Box::pin.