Ejemplo n.º 1
0
        public void LoadFsAsync(string url)
        {
            AsyncManager.OutstandingOperations.Increment();
            var transfer = new FSharpAsync.AsyncWebTransfer(HttpContext, url);

            transfer.Completed += (sender, args) =>
                AsyncManager.OutstandingOperations.Decrement();

            transfer.StartAsync();
        }
Ejemplo n.º 2
0
        public void LoadFsAsync(string url)
        {
            AsyncManager.OutstandingOperations.Increment();
            var transfer = new FSharpAsync.AsyncWebTransfer(HttpContext, url);

            transfer.Completed += (sender, args) =>
                                  AsyncManager.OutstandingOperations.Decrement();

            transfer.StartAsync();
        }