Anyway to make blocking requests?
未关闭
- 主要语言
- JavaScript
- 星标
- 90
- 派生
- 18
- PR 合并指标
- 30 天内没有已合并 PR
描述
I'm using this for an Alexa skill that will allow searching the DB artists and play the results. However, this is all done in the processing of an user request and I would like to first check whether there are any results before clearing the playlist. However, since this library uses callback for commands, the callback runs after I've processed the end-user request. Any way to make the mpd request blocking?
This is the code in question if you're interested: https://github.com/guikubivan/alexa-mpd-control/blob/master/mpd_interface.js#L39
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。