WinJS - Promises
JavaScript is a single-threaded language. This means that invoking a long-running process blocks all execution until that process completes. UI elements are unresponsive, animations pause, and no other code in the app can run. The solution to this problem is to avoid synchronous execution as much as possible. One way to do this is to have a function execute at a later time, as with event handlers, which are invoked after another call has raised an event. Callback functions are another kind of asynchronous processing, because they call back into the code that initiated the process. A promise is an object. The most frequently used method on a promise object is then, which takes three parameters: a function to call when the promise completes successfully, a function to call when the promise completes with an error, and a function to provide progress information. In both the Windows Runtime and the Windows Library for JavaScript you can also use the done function, which takes the same parameters. The difference is that in the case of an error in processing, the then function returns a promise in the error state but does not throw an exception, while the done method throws an exception if an error function is not provided.

WinJS - Custom Controls, Binding, AppBar And Search Contract

Introduction to WinRT - Building Windows 8 Store Applications

Abstraction In Software Design - With Examples

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

Co-Creator of Haskell: Functional Programming, Thinking in Types, Useless Languages | Simon Jones

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Learn JavaScript - Full Course for Beginners

IDisposable Exposed

The Unity Tutorial For Complete Beginners

Introduction To gRPC

How I program C

What do tech pioneers think about the AI revolution? - The Engineers, BBC World Service

gRPC - Getting Started .NET 5/ .NET Core 3.x

But what is quantum computing? (Grover's Algorithm)

WinJS ListView In Depth - Binding, Templates, Semantic Zoom

Learn Dynamic Programming with Animations – Full Course for Beginners

System Design Explained: APIs, Databases, Caching, CDNs, Load Balancing & Production Infra

Let's Talk - Always use the "as" operator - No Thank you

