Virus-Axel / godot-solana-sdk

Build Solana games with godot. This GDExtension will enable godot to make on-chain and Solana integrated games.
MIT License
38 stars 12 forks source link

SolanaClient is synchronous only #119

Closed Virus-Axel closed 11 months ago

Virus-Axel commented 11 months ago

The SolanaClient should have asynchronous capabilities. Otherwise the main thread is blocked. This is a big problem on web target. Implement it with signals.

ETA: 2h

Virus-Axel commented 11 months ago

It is not really possible to do this without having SolanaClient in the scene tree. I think it might be better to let the user thread everything that uses it instead.