Rules for functions and callbacks compatibility

Use the following rules to decide which functions and callbacks can be used together: