slazarov / python-signalr-client

SignalR client for python based on asyncio.
MIT License
33 stars 22 forks source link

How to get a call to server and receive the result in one line? #15

Open nkfeiyang opened 5 years ago

nkfeiyang commented 5 years ago

I just want to invoke an event on server and then receive some message, like the local method call.

e.g.

msg = hub.server.invoke('SubscribeToExchangeDeltas', 'BTC-ETH')

Thanks,