div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">monitorState</span><span class="p">(</span><span class="n">_</span> <span class="nv">closure</span><span class="p">:</span> <span class="kt"><a href="../Typealiases.html#/s:12TermiNetwork29ReachabilityUpdateClosureTypea">ReachabilityUpdateClosureType</a></span><span class="p">?)</span> <span 