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
send_xxx 是异步语义
=> C send_xxx 有 callback, 参数是 error. cmd 那条路的 callback 额外有 cmd_result 的参数.
=> C++ send_xxx 跟 C 一样
=> go send_xxx 跟 C 一样, 有 callback
=> python (non-asyncio) send_xxx 跟 C 一样, 有 callback
=> python (asyncio) send_xxx 没有 callback, 返回值是 error 变量, cmd 那条路的返回值多一个 cmd_result (error 要不要还是用 exception 待讨论)
get/set_property 是同步语义
=> C get/set_property 没有 callback, get 直接返回答案, set 返回 bool, 代表成功与否. get/set_property 都有一个 error 参数代表错误或者更多错误资讯.
=> C++ get/set_property 跟 C 一样
=> go get/set_property 跟 C 一样
=> python get/set_property (non-asyncio) 跟 C 一样
=> python get/set_property (asyncio) 跟 C 一样
==============================
其他改动:
拔掉 C++ 的 get/set_property_async 这类 API.
No description provided.
The text was updated successfully, but these errors were encountered: