Skip to main content

ChatKittyObserver

ChatKitty JS Core SDK / Exports / ChatKittyObserver

Interface: ChatKittyObserver<T>

Type parameters

Name
T

Table of contents

Properties

Properties

onComplete

onComplete: () => void

Type declaration

▸ (): void

Returns

void

Defined in

lib/observer.ts:6


onError

onError: (value: ChatKittyError) => void

Type declaration

▸ (value): void

Parameters
NameType
valueChatKittyError
Returns

void

Defined in

lib/observer.ts:5


onNext

onNext: (value: T) => void

Type declaration

▸ (value): void

Parameters
NameType
valueT
Returns

void

Defined in

lib/observer.ts:4