Chapter 11: Background Tasks
暂无分享,去创建一个
In any application, you may have to silently perform certain tasks in the background. The Universal Windows Platform provides a Background Tasks feature that lets you run code in the background. A background task is nothing but a JavaScript file that the OS runs in the background. A background task is usually run against a system trigger that you can subscribe to. A background task needs to be declared in the application task. Background tasks can report progress, completion, and cancellation to apps through certain events.