WebCRT

Hello,

While developing a game in a javascript based environment I noticed its support for WebCRT for real time multiplayer games.

I immediately was wondering what it would take for swi prolog to support WebCRT.

Or, alternatively, how could swi-prolog be an system embedded in a javascript environment

WASM version?