<div dir="ltr"><div class="gmail_default" style="font-family:monospace">Excited to see it! I want to try it out as soon as possible. Structured Concurrency has grown to be one of my most anticipated features for "new" Java, so please post info, even if it's just an unfinished JEP Draft or Javadoc, as soon as possible!</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Aug 30, 2025 at 10:49 AM Alan Bateman <<a href="mailto:alan.bateman@oracle.com">alan.bateman@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  
  <div>
    <div>On 29/08/2025 15:24, David Alayachew
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div class="gmail_default" style="font-family:monospace">Hello <a class="gmail_plusreply" id="m_4709452837795107764plusReplyChip-1" href="mailto:loom-dev@openjdk.org" target="_blank">@loom-dev</a>,</div>
        <div class="gmail_default" style="font-family:monospace"><br>
        </div>
        <div class="gmail_default" style="font-family:monospace">I
          noticed just recently that StructuredTaskScope.Joiner is
          an @FunctionalInterface. Is that merely a derived trait
          automatically applied by the Javadoc/JDK? Or are there ways to
          make useful Joiners using just the unimplemented result()?
          Only thing I could think of is that it's useful for creating
          mock Joiners in unit tests, that just return some pre-defined
          value. But even that is limited in its utility.</div>
        <br>
      </div>
    </blockquote>
    Thanks for bringing it up. It's a left over from an early iteration.
    We are going to propose some very minor changes for the next update
    and this includes dropping @FI. But yes, it might have some uses now
    with a test Joiner that returns a constant or something fixed but
    it's not very practical without implementing onFork or onComplete.<br>
    <br>
    -Alan<br>
    <br>
  </div>

</blockquote></div>