Skip to content

Interface: SubscriptionEvent<T>

Defined in: packages/graphql-pubsub/src/interfaces.ts:91

Metadata stored per active subscription.

Type Parameters

Type ParameterDefault type
Tunknown

Properties

PropertyTypeDescriptionDefined in
handlerMessageHandler<T>Message callback.packages/graphql-pubsub/src/interfaces.ts:97
idnumberUnique subscription identifier.packages/graphql-pubsub/src/interfaces.ts:93
isPatternbooleanWhether this subscription uses Redis pattern-subscribe.packages/graphql-pubsub/src/interfaces.ts:99
triggerstringResolved Redis channel / pattern key.packages/graphql-pubsub/src/interfaces.ts:95

Released under the MIT License.