Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Constructors

new
CacheNode(
path: string,
value: unknown,
refetch: () => MaybePromise<void>,
)

Properties

fieldManager: FieldSubscriptionManager<Types> | null
path: string
refetch: () => MaybePromise<void>
typeManagers: Map<number | string, TypeSubscriptionManager>
value: unknown

Methods

managerForType(key: number | string)
replaceValue(value: unknown, key: number | string)