@amityco/ts-sdk
Version:
Amity Social Cloud Typescript SDK
14 lines • 1.03 kB
TypeScript
import { LiveCollectionController } from '~/core/liveCollection/LiveCollectionController';
import { SearchChannelPaginationController } from './SearchChannelPaginationController';
export declare class SearchChannelLiveCollectionController extends LiveCollectionController<'channel', Amity.SearchChannelLiveCollection, Amity.Channel, SearchChannelPaginationController> {
private queryStreamController;
constructor(query: Amity.SearchChannelLiveCollection, callback: Amity.LiveCollectionCallback<Amity.Channel>);
startSubscription(): Amity.Unsubscriber[];
notifyChange({ origin, loading, error }: Amity.LiveCollectionNotifyParams): void;
protected setup(): void;
protected persistModel(response: Amity.ChannelPayload & Amity.Pagination): Promise<void>;
protected persistQueryStream({ response, direction, refresh, }: Amity.LiveCollectionPersistQueryStreamParams<'channel'>): void;
private shouldAbort;
private getSubscriptions;
}
//# sourceMappingURL=SearchChannelLiveCollectionController.d.ts.map