These instructions are powerful, but JavaScript in Tasks queries runs inside Obsidian. Malicious JavaScript in a Tasks query or Markdown file could access or modify your vault contents, local files, ...
Let's take a look at a very simple example of an asychronous task using jQuery and its ajax method to load a file of data. task.spawn(function() { var data = yield $.ajax("text.html"); ...
There are some interesting things going on the latest version of JavaScript and already some new uses are being found for them. Task.js uses the new generator facility to build an asynchronous task ...