You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, create the object of service (e.g. hello_service) before server.start() as pre-condition, but create the object of service is not necessary if service is not called.
It can be supported that allow user creates the object of service while the service is called.
for example, pass one function create() to register_handler().
Search before asking
What happened + What you expected to happen
yalantinglibs/src/coro_rpc/examples/helloworld/server/main.cpp
Lines 22 to 38 in c75fdff
Now, create the object of service (e.g.
hello_service
) beforeserver.start()
as pre-condition, but create the object of service is not necessary if service is not called.It can be supported that allow user creates the object of service while the service is called.
for example, pass one function
create()
toregister_handler()
.Reproduction way
Anything else
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: