@graphql-mesh/transform-cache
Version:
14 lines (13 loc) • 524 B
TypeScript
import { MeshTransform, MeshTransformOptions, YamlConfig } from '@graphql-mesh/types';
import { GraphQLSchema } from 'graphql';
export default class CacheTransform implements MeshTransform {
private options;
noWrap: boolean;
private readonly shouldWaitLocal;
constructor(options: MeshTransformOptions<YamlConfig.CacheTransformConfig[]>);
transformSchema(schema: GraphQLSchema): GraphQLSchema;
private shouldWait;
private setShouldWait;
private cleanupShouldWait;
private waitAndReturn;
}