UNPKG

uzen

Version:

General-purpose GraphQL subscription server library

15 lines (14 loc) 363 B
export interface RedisConfig { keyPrefix: string; password?: string; username?: string; host: string; port: number; db?: number; [_: string]: any; } export declare function createRedisPubSub(redisConfig: RedisConfig): { pubsub: import("graphql-yoga").PubSub<{ [key: string]: [] | [any] | [string | number, any]; }>; };