title: Lambda for JavaFX Task
body: <p>The compiler gives me this error "Target Type of lambda expression must be an interface" for this code: </p>
  
  <pre><code>Task&lt;Iterable&lt;Showing&gt;&gt; task = () -&gt; sDAO.listFiltered();
  </code></pre>
  
  <p><code>listFiltered()</code>'s return type is <code>Iterable&lt;Showing&gt;</code>.
  How can I use the <code>Task</code> interface with lambda?</p>