repo
replacements.fyi

// package

async-function

type: "module"

// preferences

// replacements (1)

snippet::async-function-constructor

Simple or drop-in replacement

This package is no longer necessary. You can get the `AsyncFunction` using `async function`.

// example

const AsyncFunction = (async () => {})
	.constructor;