Skip to content

Feature request: Conditional agent connection in react #533

@dnyg

Description

@dnyg

When using the useAgent hook in react it would be useful to be able to provide a enabled?: boolean parameter as part of the agent options (much like React Query does) where the websocket connection is only started once the enabled parameter returns true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions