[][src]Attribute Macro telexide::prelude::prepare_listener

#[prepare_listener]

A function attribute macro for making event listeners easier.

This macro transforms an async function into a function returning a pinned box containing a future, which is used internally by telexide to store the function.