Skip to content

Invoke vs. InvokeAsync #17

@joreg

Description

@joreg

helo darkl,

thanks a lot for your work on the wamp implementation. works great here. before i come back to the topic i just wanted to quickly comment on the 2 PRs i just sent:

#16
in our application we need the possibility to dynamically register/unregister RPCs

#15
here we needed a way to be notified when a session connects/disconnects and also when an RPC call finished.

hope they work for you. let me know if you need things adapted.

back to the topic:
have you thought of a way to decide globally or per RPC whether it is invoked synchronously or asynchronously? for now it seems you default to async which doesn't work in our scenario. so for now in WampRPCServer.cs l55 we just call Invoke() instead of InvokeAsync() but of course that is not solution. any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions