Skip to content

Type Alias: UseRx_SetValue<TOut>

UseRx_SetValue<TOut> = React.Dispatch<React.SetStateAction<TOut | undefined>> & object

Defined in: packages/rx-react/src/useRx.ts:221

The state dispatcher returned by useRx. Includes a mounted flag (used internally) to prevent state updates on unmounted components.

Type Declaration

mounted

mounted: boolean

subscription?

optional subscription?: Subscription

Type Parameters

TOut

TOut