Use ES8 async / await in Custom Routing

Is it possible to use ES8 async/await syntax in Custom Routing for FormSets? It would life a whole lot easier than creating promise chains with .then etc.

At the moment if I try to use await I get the message

missing ";" before statement

and if I try to use async I get the message

'async functions' is only available in ES8 (use 'esversion: 8').

Hello @darrenw-npi,

Welcome to Plumsail Community!

Yes, you can use it. We don't compile this code - anything that browser supports, will work.