Skip to content

Make use_websocket not depend on reactive owners #217

@mscofield0

Description

@mscofield0

If you don't have a WebSocket being initialized in some sort of root component, and instead you spawn them off in some effect, then you have no way of controlling the socket's lifetime. It would be best for use_websocket to have an additional Arc-like version of itself where the lifetime is controlled by reference counting, and not by the lifetime of its reactive owner.

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