How to use async functions with Swarm?

It seems like the Swarm framework does support asynchronous functions. Any ideas how to use asynchronous functions in Swarm?