Skip to content
Advertisement

Tag: networking

Create Custom Rxjs Observable for network

I’m a beginner with Rxjs, I’m working on a game project have a network implement is: Send by function sendPacket, and server response comes in fuction onReceived I want to refactor the current network struct like Angular HttpClient: sendPacket return an Observable and I just need subscribe like this: How can I implement this idea? Thank you so much Answer

Advertisement