@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
13 lines • 958 B
TypeScript
import { RSVPPaginationController } from './PaginationController';
import { LiveCollectionController } from '~/core/liveCollection/LiveCollectionController';
export declare class RSVPLiveCollectionController extends LiveCollectionController<'eventResponse', Amity.RSVPLiveCollection, Amity.EventResponse, RSVPPaginationController> {
private queryStreamController;
private query;
constructor(query: Amity.RSVPLiveCollection, callback: Amity.LiveCollectionCallback<Amity.EventResponse>);
protected setup(): void;
protected persistModel(queryPayload: Amity.EventResponsePayload & Amity.Pagination): Promise<void>;
protected persistQueryStream({ response, direction, refresh, }: Amity.LiveCollectionPersistQueryStreamParams<'eventResponse'>): void;
startSubscription(): Amity.Unsubscriber[];
notifyChange({ origin, loading, error }: Amity.LiveCollectionNotifyParams): void;
}
//# sourceMappingURL=LiveCollectionController.d.ts.map