Skip to content

Subscribe to CKeyValue multiple times from the same task #469

@rbx

Description

@rbx

In my task I subscribe to CKeyValue internally from my DDS plugin code. At the same time a user should be able to subscribe to CKeyValue to listen on their own key/value updates.

I've tried this with a group of tasks, where all of them subscribe to CKeyValue and CCustomCmd via the plugin and exchange some values over it.
Later during the execution they subscribe a second time from the user code to CKeyValue and one of them puts a new value (to a separate key).

After the second subscription I have following things that go wrong:

  • some tasks receive the latest value in the user code, but plugin doesn't receive the value. These properly receive the CCustomCmd commands in the plugin.
  • others receive the new value in the plugin, but not in the user code. But also, these tasks no longer receive commands via CCustomCmd (which I subscribed to only once in the plugin).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions