Registration that can detach this exact registered handler.NothrowHap.register
Register a nothrow delegate handler and return a detachable registration.
Unlike attach, register returns a Registration that can detach exactly the registered handler by identity, even when the same handler was registered multiple times.
Parameters
handler | Delegate handler to register; null returns an inert registration. |
Returns
A
Register a nothrow free-function handler and return a detachable registration.
Parameters
handler | Free-function handler to register; null returns an inert registration. |
Returns
A
Registration that can detach this exact registered handler.