Skip to main content

emit_deprecation_warning

Function emit_deprecation_warning 

Source
pub fn emit_deprecation_warning(code: &str, message: &str)
Expand description

A DeprecationWarning fires at most once per code per process, matching the warned latches Node keeps at each deprecation site.