prologue_hooks

Attribute Macro prologue_hooks 

Source
#[prologue_hooks]
Expand description

Injects a list of macros before the decorated function.

The macros are applied in head-insertion order, meaning the first macro in the list is the outermost macro.

ยงUsage

use hyperlane::*;
use hyperlane_macros::*;

#[prologue_hooks(post, send)]
async fn handler(ctx: Context) {
    // ...
}