Type Alias SlidingSyncEventHandlerMap

SlidingSyncEventHandlerMap: {
    "SlidingSync.Lifecycle": (
        state: SlidingSyncState,
        resp: MSC3575SlidingSyncResponse | null,
        err?: Error,
    ) => void;
    "SlidingSync.List": (
        listKey: string,
        joinedCount: number,
        roomIndexToRoomId: Record<number, string>,
    ) => void;
    "SlidingSync.RoomData": (
        roomId: string,
        roomData: MSC3575RoomData,
    ) => Promise<void> | void;
}