我有一个 observableArray。我想在从 observableArray 中删除或添加项目后以及在完成其所有依赖项订阅调用后执行一个函数。喜欢 :
observableArray.push(newObject);
//I can't put my function call at this point because if any subscription is..
//with newObject or observableArray will execute asynch, and i..
//want my function to execute after all such subscription execution.
有没有办法在淘汰赛中实现这一目标?