/a></code>);
</li><li> <code><a href="Network-Mom-Stompl-Patterns-Basic.html#t:PubA">PubA</a></code> -&gt; IO r: Action that defines the lifetime
                     of the publisher; the result (<em>r</em>)
                     is also the result of <em>withPub</em>.
</li></ul></div></div><div class="top"><p class="src"><a name="v:publish" class="def">publish</a> ::  <a href="Network-Mom-Stompl-Patterns-Basic.html#t:PubA">PubA</a> o -&gt; Type -&gt; [Header] -&gt; o -&gt; IO ()</p><div class="doc"><p>Publ