Module

x/pothos/packages/plugin-smart-subscriptions/index.ts>SmartSubscriptionOptions

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
interface SmartSubscriptionOptions
import { type SmartSubscriptionOptions } from "https://dotland.deno.dev/x/pothos@release-1689883337/packages/plugin-smart-subscriptions/index.ts";

Type Parameters

Context extends object

Properties

optional
debounceDelay: number | null
subscribe: (
name: string,
context: Context,
cb: (err: unknown, data?: unknown) => void,
) => Promise<void> | void
unsubscribe: (name: string, context: Context) => Promise<void> | void
import SmartSubscriptionOptions
import { SmartSubscriptionOptions } from "https://dotland.deno.dev/x/pothos@release-1689883337/packages/plugin-smart-subscriptions/index.ts";