Пример #1
0
        public void NextTick()
        {
            Dictionary <string, object> changes = _vueData.FindChangesAndUpdate();

            if (changes.Count > 0)
            {
                Task.Run(() => JS._this.PushChanges(changes));
            }
        }
Пример #2
0
        public void NextTick()
        {
            var changes = _data.FindChangesAndUpdate();

            if (changes.Count > 0)
            {
                Task.Run(() => Execute($"this.PushChanges({JsonConvert.SerializeObject(changes)})"));
            }
        }