サーバーからのデータを入力しているモデルがあります。問題は、そのデータが最初に入力されたときに、サブスクリプションが起動していることです。ユーザーがUIを操作したときにのみサブスクリプションを起動したい。
function ViewModel() {
var self = this;
//Populate the object.
self.request = new Request(data);
//Subscribe to one of the "properties" so that I can do stuff when the value changes.
self.request.selectedId.subscribe(function(newValue) {
//This is firing before the user interacts with the UI.
});
}