Skip to main content
Module

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

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

Constructors

new
TypeSubscriptionManager(
replace: (value: unknown) => void,
refetchParent: () => MaybePromise<void>,
)

Type Parameters

optional
ParentShape = unknown

Properties

refetchParent: () => MaybePromise<void>
replace: (value: unknown) => void

Methods

register<T = unknown>(name: string, unnamed 1?: RegisterTypeSubscriptionOptions<T, ParentShape>)