Registers the provided callback for notifications. A callback may only be registered once.
This is a public method.
public object Register(Action<ActionData> callback)
Returns an object as an ID that can be used to unregister the provided callback from messages.
null.