pub fn call_function_in_validation_interface_queue(func: fn())
Expand description

| Pushes a function to callback onto the | notification queue, guaranteeing | any callbacks generated prior to now | are finished when the function is called. | | Be very careful blocking on func to be | called if any locks are held - validation | interface clients may not be able to | make progress as they often wait for | things like cs_main, so blocking until | func is called with cs_main will result | in a deadlock (that DEBUG_LOCKORDER | will miss). |