On Monday, 18 July 2022 at 10:22:16 UTC, Bagomot wrote:
Why can't I do it with `std.signals`? How the to do it if I can't create static event listeners?
```d
public void addEventListener(T : EventListener)(T listener) {
   connect(&listener.watch);
}
```

This error comes from somewhere else in your code by std.concurrency `spawn()`, `spawnLinked()` or `send()`.

Reply via email to