Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议Register增加异步方法 #1

Open
MagicLizi opened this issue Feb 16, 2020 · 0 comments
Open

建议Register增加异步方法 #1

MagicLizi opened this issue Feb 16, 2020 · 0 comments

Comments

@MagicLizi
Copy link

MagicLizi commented Feb 16, 2020

由于Node.js 大部分时候都是异步操作,所以建议注册使用hprose的异步方法

func = (args, callback)=>{ }
this.addAsyncFunction(func, alias, options)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant