Skip to main content

CreatePaginatorRequest

ChatKitty React Native / Exports / CreatePaginatorRequest

Class: CreatePaginatorRequest<I>

Type parameters

Name
I

Table of contents

Constructors

Properties

Constructors

constructor

new CreatePaginatorRequest<I>()

Type parameters

Name
I

Properties

asyncMapper

Optional asyncMapper: (item: I) => Promise<I>

Type declaration

▸ (item): Promise<I>

Parameters
NameType
itemI
Returns

Promise<I>

Defined in

pagination.ts:134


contentName

contentName: string

Defined in

pagination.ts:131


mapper

Optional mapper: (item: I) => I

Type declaration

▸ (item): I

Parameters
NameType
itemI
Returns

I

Defined in

pagination.ts:133


onError

Optional onError: (error: StompXError) => void

Type declaration

▸ (error): void

Parameters
NameType
errorStompXError
Returns

void

Defined in

pagination.ts:135


parameters

Optional parameters: Record<string, unknown>

Defined in

pagination.ts:132


relay

relay: string

Defined in

pagination.ts:130


stompX

stompX: default

Defined in

pagination.ts:129