Type alias SlidingSyncEventHandlerMap

SlidingSyncEventHandlerMap: {
    SlidingSync.Lifecycle: ((state, resp, err?) => void);
    SlidingSync.List: ((listKey, joinedCount, roomIndexToRoomId) => void);
    SlidingSync.RoomData: ((roomId, roomData) => Promise<void> | void);
}

Type declaration

  • SlidingSync.Lifecycle: ((state, resp, err?) => void)
  • SlidingSync.List: ((listKey, joinedCount, roomIndexToRoomId) => void)
      • (listKey, joinedCount, roomIndexToRoomId): void
      • Parameters

        • listKey: string
        • joinedCount: number
        • roomIndexToRoomId: Record<number, string>

        Returns void

  • SlidingSync.RoomData: ((roomId, roomData) => Promise<void> | void)

Generated using TypeDoc