Hi,
I discovered WAMP few days ago and quickly adopted it to my recent project.
I am fine with asynchronous Javascript but async PHP is very strange. As I have backend in PHP that calls does some RPC to Javascript clients, I have to use async library like RxPHP just to call a remote function which does not require any asynchronousness - just simple call and get back result or have an exception thrown. The same could also work for publish but obviously not for register and subscribe.
Does anybody knows of a library that could make WAMP call synchronously?
Or a way to convert RxPHP (or other library) async method to sync method? The only one I could think of is calling wait in loop until some global variable will get result from async call.
Best regards,
Janusz