Check whether the provided notifier is already registered.
This allows the code to avoid calling ready() with the same notifier,
which may throw or add duplicate notifiers.
Note: This is an O(n) search, however it should not have a
performance impact in most cases since the number of registered
notifiers is typically very low.
Check whether the provided notifier is already registered. This allows the code to avoid calling ready() with the same notifier, which may throw or add duplicate notifiers.
Note: This is an O(n) search, however it should not have a performance impact in most cases since the number of registered notifiers is typically very low.