Skip to main content

set_notice_handler

Function set_notice_handler 

Source
pub fn set_notice_handler(callback: impl Fn(&str) + Send + Sync + 'static)
Expand description

Replace the process-wide callback used for actionable notices returned by the Sail API. Each kind of notice (deprecated client build, deprecated Sailbox runtime) is delivered at most once per process.