Hello @q123,
You can checkout here:
I demonstrate how you can create an async call to a server in flask.
As far as an async function on dash via clientside:
dash.clientside_callback(
""" async function (n) {
data = await fetch(url)
return data
}""",
...)