Following example shows that when function A() is executed, function B() is also executed!
If we want to use async for functionB() we need to do the following
To use async function, we have to import following module:
from zappa.async import task
use @TASK before the start of function:
that’s all we need to do.