I was wondering if the Azure WebJobs SDK can trigger async methods? Currently I have a method that looks like the following:
class Program
{
static void Mai
Async is now supported. See the blog post here.
Unfortunately, the short answer to both questions is: not supported.
(slightly) longer answer:
WebJobs SDK does not support async methods. If you look in the execution log (on the dashboard) you will see a warning saying that async functions (functions that return Task
or Task<>
) are executed synchronously.
We don't support the local emulator. You have to use a real Storage Account when developing.
With the passage of time, the answer is now, yes, you can!