MCPcopy
hub / github.com/tsedio/tsed / EngineFunction

Interface EngineFunction

packages/engines/src/utils/getEngines.ts:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6export type RenderCallback = (err: Error | null, str?: string | any) => any;
7export interface EngineFunction {
8 (path: string, options: any, cb: RenderCallback): void;
9 (path: string, options: any): Promise<string>;
10
11 render(template: string, options: any, cb: RenderCallback): void;
12 render(template: string, options: any): Promise<string>;
13}
14
15const callbackify = async (fn: any, cb?: RenderCallback) => {
16 try {

Callers 8

renderMethod · 0.65
$onInitMethod · 0.65
ViteModule.spec.tsFile · 0.65
useMethod · 0.65
indexMiddlewareFunction · 0.65
indexMiddlewareFunction · 0.65

Implementers 8

OidcInteractionContextpackages/security/oidc-provider/src/se
ViteServicepackages/third-parties/vike/src/servic
PlatformResponsepackages/platform/platform-http/src/co
PlatformViewspackages/platform/platform-views/src/s
VashEnginepackages/engines/src/components/VashEn
LodashEnginepackages/engines/src/components/Lodash
UnderscoreEnginepackages/engines/src/components/Unders
Enginepackages/engines/src/components/Engine

Calls

no outgoing calls

Tested by

no test coverage detected