Description
Tries to solve #25 in the new codebase. The wrapper needs to wrap around the Socket-IO client to provide a unified interface to timeout for any emitted event.
The interface provides the following functionality :
- A constructor which takes and connects to a url.
- Functions for each module (for examle
eval) which take the paramters for emiting.
- A possible interface would look like
socketWrapper.eval(params)
- Each of the function of the iterface will return an object of the same type (null if error), hence allowing the user to chain functions on the same.
Steps to Reproduce
Any socket emmision will wait infinitely if the server never returns after connection.
Expected behavior:
The socket to timeout after a specified amount of time.
Actual behavior:
The socket waits for an event.
Description
Tries to solve #25 in the new codebase. The wrapper needs to wrap around the Socket-IO client to provide a unified interface to timeout for any emitted event.
The interface provides the following functionality :
eval) which take the paramters for emiting.socketWrapper.eval(params)Steps to Reproduce
Any socket emmision will wait infinitely if the server never returns after connection.
Expected behavior:
The socket to timeout after a specified amount of time.
Actual behavior:
The socket waits for an event.