elsaland / elsa

❄️ Elsa is a minimal runtime for JavaScript and TypeScript written in Go
MIT License
2.8k stars 62 forks source link

Can I interact with a JS script while it is running? #125

Open HZHgagaga opened 2 years ago

HZHgagaga commented 2 years ago

For example, I have a javascript game loop, I use a Go grpc server to run it.

When the player sends an operation request, the Go grpc server will change the status of javascript game loop.

Can I do it with elsa?