PriorityHap.attach
void attach(Handler handler, int priority = 0) @safeAttach a delegate handler with the given priority.
Parameters
priority | Lower values run first. Default is 0. |
handler | Delegate handler to attach; null is ignored. |
void attach(FunctionHandler handler, int priority = 0) @safeAttach a free-function handler with the given priority.
Parameters
priority | Lower values run first. Default is 0. |
handler | Free-function handler to attach; null is ignored. |