[][src]Crate everyday_macros

Attribute Macros


To wrap a function around a retry, specify how many times you should invoke the function before quitting. It currently only supports non-async functions! #[everyday_macro::retry(times=3)]


To add a sleep timer to the beginning of each function call write the following proc_macro #[everyday_macro::wait_for(seconds = 10, jitter)] You can also specify floats and turn jitter on or off. jitter is off by default. #[everyday_macro::wait_for(seconds = 3.5, jitter = true)]