Interface ValueRegistry<K,​V>

    • Method Detail

      • add

        Consumer<V> add​(K key)
        Adds a value registration for the specified key
        Parameters:
        key - a registry key
        Returns:
        a consumer to capture the value
      • remove

        void remove​(K key)
        Removes the registration for the specified key
        Parameters:
        key - a registry key