[][src]Function romp::workflow::router::insert_stomp_filter_at

pub fn insert_stomp_filter_at(filter: Box<dyn MessageFilter + Sync>, at: usize)

Voodoo inserts: populate the filter chain at a different point, This is not safe across different versions as the default chain changes However, with a bit of care it does allow hooking into the filter chain anywhere.

Panics

if at > FILTER_CHAIN_STATIC.len, which is not known until runtime