Example #1
0
 // X:\jsc.svn\examples\javascript\test\TestServiceWorkerAssetCache\TestServiceWorkerAssetCache\Application.cs
 public IPromise<object> put(Request request, Response response) { return null; }
        // client side web service like activity?

        //void respondWith((Response or Promise<Response>) r);

        // how can we translate Task to Promise?
        // can we then update jsc to do it automagically?
        // https://chromium.googlesource.com/chromium/blink.git/+/master/Source/modules/serviceworkers/RespondWithObserver.h
        public void respondWith(Response r) { }