{"id":4192,"date":"2014-03-30T09:10:14","date_gmt":"2014-03-30T09:10:14","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/are-winjs-metro-apps-single-threaded-collection-of-common-programming-errors\/"},"modified":"2014-03-30T09:10:14","modified_gmt":"2014-03-30T09:10:14","slug":"are-winjs-metro-apps-single-threaded-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/are-winjs-metro-apps-single-threaded-collection-of-common-programming-errors\/","title":{"rendered":"Are WinJS\/Metro Apps single threaded?-Collection of common programming errors"},"content":{"rendered":"<p>It&#8217;s a multi part answer.<\/p>\n<p>Traditionally &#8211; yes it is single threaded. Async is done behind the scenes with timers. However with the advent of web workers, you can run background processing on multiple threads (or use a Windows Runtime component that does threading and relies on .NET for the threading here).<\/p>\n<p>Web Workers are supported in Windows Store HTMl\/JS applications so yes, you can have more than one thread.<\/p>\n<p>Web Workers<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s a multi part answer. Traditionally &#8211; yes it is single threaded. Async is done behind the scenes with timers. However with the advent of web workers, you can run background processing on multiple threads (or use a Windows Runtime component that does threading and relies on .NET for the threading here). Web Workers are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4192","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4192"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4192\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}