#[aborted]
Expand description
Handles aborted request scenarios.
This attribute macro configures the function to handle cases where the client has aborted the request, providing appropriate handling for interrupted or cancelled requests.
ยงUsage
use hyperlane::*;
use hyperlane_macros::*;
#[aborted]
async fn handle_aborted(ctx: Context) {
// Handle aborted request logic
}
The macro takes no parameters and should be applied directly to async functions
that accept a Context
parameter.