Skip to content

Clearing all subscriptions should close out the connection #80

@dhinklexo

Description

@dhinklexo

Context

  • node version: 8
  • bunnybus version: latest
  • environment (node, browser): node

What are you trying to achieve or the steps to reproduce ?

Calling bunnyBus.subscriptions.clearAll(); should close all connections. Currently the only way to stop the dangling connection is to call the internal methods. This dangling connection will cause test runners to hang and other weird/undesirable behavior.

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