Skip to content

Documentation / @agentick/react / UseConnectionResult

Interface: UseConnectionResult

Defined in: react/src/types.ts:171

Return value from useConnection hook.

Properties

isConnected

isConnected: boolean

Defined in: react/src/types.ts:180

Whether currently connected.


isConnecting

isConnecting: boolean

Defined in: react/src/types.ts:185

Whether currently connecting.


state

state: ConnectionState

Defined in: react/src/types.ts:175

Current connection state.

Released under the ISC License.