Skip to content

Allow a pubsub to be passed into the PubSubPlugin or initialized on every new plugin #785

@spentacular

Description

@spentacular

Currently pubsub is private to the pubsub plugin, which is always initialized with a shared instance of pubsub:

this.pubsub = pubsub;

Instead, allow an instance to be passed in to allow interfacing with other common pubsubs (which would require having it's own expression as well).

Also, have the constructor instance of pubsub be a new instance for every initialization of the PubSubPlugin.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions