OptionaldeprecationReason?: stringSubscription deprecation reason (if deprecated).
Optionaldescription?: stringDescription of the subscription.
Optionalfilter?: (payload: any, variables: any, context: any) => boolean | Promise<boolean>Filter messages function.
Optionalname?: stringName of the subscription.
Optionalresolve?: (payload: any, args: any, context: any, info: any) => any | Promise<any>Resolve messages function (to transform payload/message shape).
Interface defining options that can be passed to
@Subscription()decorator.