unregister
Unregisters a message function from this registrar.
Removes the specified function from the registry, preventing it from being queried for message processing. If the function is not currently registered, this operation may be a no-op depending on the implementation.
Parameters
function
The message function to unregister, must not be null
Throws
if the function is null or invalid for unregistration