Calling a coroutine in a thread

Godot Version

4.3

Question

Hi. Is it possible to run a coroutine in a thread?
For example, if I have a coroutine example, I would normally do:

await example()

However, using

var thread := Thread.new()
thread.start(example)

gives me an error. Thanks in advance.

I would bet not, coroutine scheduling must be handled in the main thread so you cannot cross-threads to await.