<div dir="ltr">Hi guys,<div><br></div><div>on async topic if I followed we are at the point where we are looking for an activation on the observer side.</div><div><br></div><div>Since Java 8 has now CompletableFuture it would be great to use it. Today the spec doesnt use observer returned values so it is mainly a bad practise to have one even if not strictly forbidden - BTW never saw it in real applications - plus spec is not compatible - not specified at all - with CompletableFuture since it is a new API so we can use it as a marker.</div><div><br></div><div>This is quite interesting for few reasons:</div><div>1- we have our double activation</div><div>2- API is user friendly (observer is async and has an async signature)</div><div>3- open door for future async enhancements (hopefully not in CDI) with composition of these observers</div><div><br></div><div><br></div><div>Only point I'm not sure is should these observers support sync events. I don't see anything blocking to do it but can have missed something.</div><div><br></div><div><br></div><div>wdyt?</div><div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br><span style="font-size:small">Romain Manni-Bucau</span><br><a href="https://twitter.com/rmannibucau" target="_blank">@rmannibucau</a> | <a href="http://rmannibucau.wordpress.com" target="_blank">Blog</a> | <a href="https://github.com/rmannibucau" target="_blank">Github</a> | <a href="https://www.linkedin.com/in/rmannibucau" target="_blank">LinkedIn</a> | <a href="http://www.tomitribe.com" target="_blank">Tomitriber</a></div></div></div></div></div></div></div></div></div></div>
</div></div>