如何在处理期间停止,中止或取消ApplyBindings? [英] How do I stop, abort or cancel ApplyBindings during processing?

查看:102
本文介绍了如何在处理期间停止,中止或取消ApplyBindings?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道我没有可以挂入的回调机制...但是我可以取消或中止applyBindings呼叫吗?

I know there is no callback mechanism i can hook into... but can I cancel or abort an applyBindings call?

如果例如我有异步调用正要收集组件模板等,这很重要.

This is important if for example I have asynchronous calls happening to collect component templates etc.

推荐答案

否.

KO中没有终止或取消正在进行的applyBindings呼叫的功能.

There is no feature in KO to abort or cancel an in-progress applyBindings call.

这篇关于如何在处理期间停止,中止或取消ApplyBindings?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆