Skip to content

No way to cancel a publish listener #170

@lmcd

Description

@lmcd

I'm using mqtt-nio with Swift Concurrency.
I'm looking to cleanup after every disconnection, and re-establish everything when reconnecting. Ideally, MQTTPublishListener will finish when the channel closes, allowing the control flow of the publish stream to gracefully exit and then for a reconnection attempt to occur - but this currently only happens on shutdown.

Is it worth finishing a MQTTPublishListener stream on channel close also?

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