class or interface in java.util.function">Consumer</a>&lt;<a href="../../../../../jakarta/enterprise/inject/spi/configurator/ProducerConfigurator.html" title="type parameter in ProducerConfigurator">T</a>&gt;&nbsp;callback)</pre>
<div class="block">Set a callback to destroy the produced instance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>callback</code> - a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or in