Skip to content

crelte / queries / TransformFn

Type Alias: TransformFn<T> ​

ts
type TransformFn<T> = (response, vars, csr) => void | any | Promise<void | any>;

use Transfrom

Type Parameters ​

T ​

T extends Record<string, QueryVar<any>> = Record<string, QueryVar<any>>

Parameters ​

response ​

any

vars ​

InferVariableTypes<T>

csr ​

CrelteServerRequest

Returns ​

void | any | Promise<void | any>