Skip to main content
Deno 2 is finally here 🎉️
Learn more
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-1690733553/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>)