Basic Impl
- Desktop support with websockets library. Runs a background thread to receive / send events, client does not need to block as it is send+sync - Wasm support with wasm-sockets library. Uses an exclusive polling system at the end of each frame due to client not being thread safe (+ lack of threads) - Send and receive messages
Showing
- .gitignore 2 additions, 0 deletions.gitignore
- Cargo.toml 20 additions, 0 deletionsCargo.toml
- src/desktop.rs 208 additions, 0 deletionssrc/desktop.rs
- src/events.rs 37 additions, 0 deletionssrc/events.rs
- src/lib.rs 42 additions, 0 deletionssrc/lib.rs
- src/wasm.rs 180 additions, 0 deletionssrc/wasm.rs
Loading
Please register or sign in to comment