en from the server</span>
        <span class="c1">// Make sure to call finish() when done</span>
        <span class="nf">finish</span><span class="p">()</span>
    <span class="p">}</span>
<span class="p">}</span>
</code></pre>
<h4 id='how-does-it-work' class='heading'>How does it work?</h4>

<ul>
<li>Swifty will automatically call your Constraint&rsquo;s <code>isConstraintSatisfied</code> for every resource that passes through it. This method is synchronous but thread-safe, and needs to return <code>true