UseObjectReturn
Defined in: types.ts:337
Object hook return value.
Type Parameters
Section titled “Type Parameters”T
Properties
Section titled “Properties”error:
Error|undefined
Defined in: types.ts:347
Error if any
isLoading
Section titled “isLoading”isLoading:
boolean
Defined in: types.ts:345
Whether currently loading
object
Section titled “object”object:
Partial<T> |undefined
Defined in: types.ts:339
Partial object being streamed
stop()
Section titled “stop()”stop: () =>
void
Defined in: types.ts:343
Stop streaming
Returns
Section titled “Returns”void
submit()
Section titled “submit()”submit: (
prompt) =>void
Defined in: types.ts:341
Submit a prompt
Parameters
Section titled “Parameters”prompt
Section titled “prompt”string
Returns
Section titled “Returns”void