UNPKG

@amityco/ts-sdk

Version:

Amity Social Cloud Typescript SDK

13 lines 947 B
import { QueryStreamController } from '~/core/liveCollection/QueryStreamController'; export declare class SearchChannelQueryStreamController extends QueryStreamController<Amity.ChannelPayload, Amity.SearchChannelLiveCollection> { private notifyChange; constructor(query: Amity.SearchChannelLiveCollection, cacheKey: string[], notifyChange: (params: Amity.LiveCollectionNotifyParams) => void); saveToMainDB(response: Amity.ChannelPayload): Promise<void>; appendToQueryStream(response: Amity.ChannelPayload & Partial<Amity.Pagination>, direction: Amity.LiveCollectionPageDirection, refresh?: boolean): void; reactor(): () => void; subscribeRTE(createSubscriber: { fn: (reactor: Amity.Listener<Amity.StaticInternalChannel | Amity.StaticInternalChannel[]>) => Amity.Unsubscriber; action: Amity.ChannelActionType; }[]): Amity.Unsubscriber[]; } //# sourceMappingURL=SearchChannelQueryStreamController.d.ts.map