UseChatRequestResult
Defined in: libs/ccs-chat-user-client/src/react/hooks.ts:37
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”T
Properties
Section titled “Properties”data:
T|undefined
Defined in: libs/ccs-chat-user-client/src/react/stores.ts:35
Inherited from
Section titled “Inherited from”error:
unknown
Defined in: libs/ccs-chat-user-client/src/react/stores.ts:36
Inherited from
Section titled “Inherited from”loading
Section titled “loading”loading:
boolean
Defined in: libs/ccs-chat-user-client/src/react/stores.ts:37
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”reload()
Section titled “reload()”reload():
Promise<void>
Defined in: libs/ccs-chat-user-client/src/react/hooks.ts:38
Returns
Section titled “Returns”Promise<void>
mutate()
Section titled “mutate()”mutate(
update):void
Defined in: libs/ccs-chat-user-client/src/react/hooks.ts:40
Updates data locally, e.g. from a realtime event, without a request.
Parameters
Section titled “Parameters”update
Section titled “update”(data) => T | undefined
Returns
Section titled “Returns”void