Add model batch removal optimization for filtering

This commit is contained in:
miruka
2020-05-06 13:39:53 -04:00
parent 5432958121
commit c502aa4245
6 changed files with 40 additions and 10 deletions

View File

@@ -26,6 +26,7 @@ Python {
const future = privates.makeFuture()
Globals.pendingCoroutines[uuid] = {future, onSuccess, onError}
Globals.pendingCoroutinesChanged()
call("BRIDGE.call_backend_coro", [name, uuid, args], pyFuture => {
future.privates.pythonFuture = pyFuture
@@ -43,6 +44,7 @@ Python {
const uuid = accountId + "." + name + "." + CppUtils.uuid()
Globals.pendingCoroutines[uuid] = {onSuccess, onError}
Globals.pendingCoroutinesChanged()
const call_args = [accountId, name, uuid, args]