Right now, the most straight forward way to achieve this is by manually creating an asyncEvent that you can pass to the other thread. That secondary thread can then use the asyncEvent to trigger a wakeup on the event loop.
@see here for an example: [https://github.com/nim-lang/Nim/issues/11564#issuecomment-539317277](https://github.com/nim-lang/Nim/issues/11564#issuecomment-539317277) Note: example is about reading files, but the same pattern can easily be adapted to other use cases.
