import { PubSubEngine } from "https://deno.land/x/oak_graphql@0.6.4/graphql-subscriptions/pubsub-engine.ts";
Methods
asyncIterator<T>(triggers: string | string[]): AsyncIterator<T>
abstract
publish(triggerName: string, payload: any): Promise<void>abstract
subscribe(triggerName: string,
onMessage: Function,
options: Object,
abstract
unsubscribe(subId: number): any