function subscribeOptionsFromIteratorimport { subscribeOptionsFromIterator } from "https://dotland.deno.dev/x/pothos@release-1689883337/packages/plugin-smart-subscriptions/index.ts"; subscribeOptionsFromIterator<T, Context extends object = object>(createIterator: (name: string, context: Context) => AsyncIterator<T>): Pick<SmartSubscriptionOptions<Context>, "subscribe" | "unsubscribe">Type ParametersToptionalContext extends object = objectParameterscreateIterator: (name: string, context: Context) => AsyncIterator<T>ReturnsPick<SmartSubscriptionOptions<Context>, "subscribe" | "unsubscribe">