excel-d v0.2.16 - now with more @Async

aberba karabutaworld at gmail.com
Thu Jan 4 12:21:15 UTC 2018


On Friday, 22 December 2017 at 00:41:31 UTC, Atila Neves wrote:
> excel-d lets you write plain D code that can be run from Excel 
> unmodified via the magic of compile-time reflection.
>
> Other than bug fixes, the main new feature since 0.2.15 is 
> @Async. Slap it on a function like so:
>
> @Async
> double myfunc(double d) {
>     // ...
>     return ret;
> }
>
> And it will be executed in a separate thread. Useful for long 
> running calculations / tasks so that they don't block the UI or 
> other calculations in the worksheet.

Can't this UDA style be used to mimic async/await?
>
> Atila




More information about the Digitalmars-d-announce mailing list