Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/next_php/src/deps.ts>ejs.AsyncClientFunction

NextPHP is a web framework enabling you to write PHP in JavaScript.
Latest
type alias ejs.AsyncClientFunction
import { type ejs } from "https://deno.land/x/next_php@1.1.2/src/deps.ts";
const { AsyncClientFunction } = ejs;

This type of function is returned from compile, when Options.client is true.

This is also used internally to generate a TemplateFunction.

definition: (
locals?: Data,
escape?: EscapeCallback,
include?: IncludeCallback,
rethrow?: RethrowCallback,
) => Promise<string>