Prometheus Entity Management API
    Preparing search index...

    Function createGraphQLSubscriptionAdapter

    • Type Parameters

      • T extends object

      Parameters

      • opts: {
            client: GQLWsClient;
            extractId?: (node: Record<string, unknown>, type: string) => string;
            normalize?: (
                node: Record<string, unknown>,
                type: string,
            ) => Record<string, unknown>;
            subscriptions: GQLSubscriptionConfig<T>[];
        }

      Returns RealtimeAdapter