#[epilogue_macros]Expand description
Injects a list of macros after the decorated function.
The macros are applied in tail-insertion order, meaning the last macro in the list is the outermost macro.
ยงUsage
use hyperlane::*;
use hyperlane_macros::*;
#[response_middleware(2)]
struct ResponseMiddleware2;
impl ServerHook for ResponseMiddleware2 {
async fn new(_ctx: &Context) -> Self {
Self
}
#[epilogue_macros(send, flush)]
async fn handle(self, ctx: &Context) {}
}