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

idle 接口获取的属性是进入队列时的值 #10

Closed
neelie opened this issue Nov 27, 2014 · 2 comments
Closed

idle 接口获取的属性是进入队列时的值 #10

neelie opened this issue Nov 27, 2014 · 2 comments

Comments

@neelie
Copy link

neelie commented Nov 27, 2014

逻辑上应该返回被执行时的值

@luin
Copy link
Owner

luin commented Nov 27, 2014

因为所有命令都是异步执行的,所以执行指令前后获取到的值是一样的,这样也更符合 JavaScript 语言本身的特性。如果需要获取执行完后的值,可以下达完命令后在下一次的 onIdle 函数中获取

@neelie
Copy link
Author

neelie commented Nov 27, 2014

谢谢回复, 明白了.

@neelie neelie closed this as completed Nov 27, 2014
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

2 participants