SharedHap.attach
void attach(Handler handler) @safeAttach a delegate handler.
Parameters
handler | Delegate handler to attach; null is ignored. |
void attach(FunctionHandler handler) @safeAttach a free-function handler.
Parameters
handler | Free-function handler to attach; null is ignored. |