On Monday, 2 February 2026 at 17:46:58 UTC, Arjan wrote:
On Monday, 2 February 2026 at 16:47:52 UTC, Lars Johansson wrote:

Use:

```d
runTask(() nothrow @safe {...}, ep );
```

see https://vibed.org/api/vibe.core.core/runTask

Hi thanks, it almost worked, the argument {...}, ep ); 'ep' must have another name. I got strange errmsgs with 'ep' i do not understand. Otherwise it is a nice solution. the pgm hangs in the eventloop, but that is something i fixed.

It also seems i have to use @safe and nothrow all over in my small experiment. I like neither. Safe memory is not a big deal, keep track of your bits. anyway, without your help I would not have solved my problem, thanks again.
p.s. I do not undertand the doc on runtask.


Reply via email to