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://dotland.deno.dev/x/pothos@release-1689883337/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>)