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