Skip to main content

loading_progress_event_handler

Attribute Macro loading_progress_event_handler 

Source
#[loading_progress_event_handler]
Expand description

Proc macro which is set on a function that need to be called repeatedly while an RDB or AOF file is being loaded. The function must accept a [Context], [LoadingProgressSubevent], hz: i32 and progress: i32.