Functions
Const cache
- cache<T>(func: T, options?: Options<T>): (...funcArgs: Parameters<T>) => Template | Promise<Template>
-
Type parameters
Parameters
-
func: T
-
options: Options<T> = ...
Returns (...funcArgs: Parameters<T>) => Template | Promise<Template>
-
-
Parameters
-
Rest ...funcArgs: Parameters<T>
Const html
-
Parameters
-
literalSections: TemplateStringsArray
-
Const renderToStream
-
Parameters
Returns Readable
Const renderToString
-
Parameters
Returns Promise<string>
Const unsafeHtml
- unsafeHtml(value?: string): UnsafeHtml
-
Parameters
Returns UnsafeHtml
Caches component responses in an optimized format