diff Platforms/Wasm/WasmWebService.js @ 435:e641d3978856 am-vsol-upgrade

WasmWebService now using BaseWebService and supporting cache
author am@osimis.io
date Tue, 04 Dec 2018 11:52:43 +0100
parents d638d5721f1c
children 5055031f4a06
line wrap: on
line diff
--- a/Platforms/Wasm/WasmWebService.js	Mon Dec 03 18:03:30 2018 +0100
+++ b/Platforms/Wasm/WasmWebService.js	Tue Dec 04 11:52:43 2018 +0100
@@ -35,6 +35,12 @@
     xhr.send();
   },
 
+  WasmWebService_ScheduleLaterCachedSuccessNotification: function (brol) {
+    setTimeout(function() {
+      WasmWebService_NotifyCachedSuccess(brol);
+    }, 0);
+  },
+
   WasmWebService_PostAsync: function(callableSuccess, callableFailure, url, headersInJsonString, body, bodySize, payload, timeoutInSeconds) {
     var xhr = new XMLHttpRequest();
     var url_ = UTF8ToString(url);