d><p>This has no return value.</p></td></tr></table></div><p>Unlike the addWillFinisTransactionListener method, which returns a listener <a href="/api/common/type-aliases/identity/id/"><code>Id</code></a> and requires you to remove it manually, the <code>useWillFinishTransactionListener</code> hook manages this lifecycle for you: when the listener changes (per its <code>listenerDeps</code> dependencies) or the component unmounts, the listener on the underlying <a href="/api/the-essentials/creating-stores/st