// package
async-function
type: "module"
// preferences
// replacements (1)
snippet::async-function-constructor
Simple or drop-in replacementThis package is no longer necessary. You can get the `AsyncFunction` using `async function`.
// example
const AsyncFunction = (async () => {})
.constructor;