Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
interface SmartSubscriptionOptions
Re-export
import { type SmartSubscriptionOptions } from "https://deno.land/x/pothos@release-1670043728/packages/plugin-smart-subscriptions/mod.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