Skip to content

Conversation

tunniclm
Copy link
Contributor

  • In order to wait for a publisher confirm reliably using the listener registered against a Client, I want access to the publisherId and connectionId to properly scope a publishingId
    • PublishConfirmResponse and PublishErrorResponse changed so that publisherId is public (readonly)
    • Client publish_confirm and publish_error listeners are now passed an extra connectionId argument. Combined with the now visible publisherId, a scoped publishingId can be constructed
    • SendResult changed to include a reference to the publisher, which allows the caller of SuperStreamPublisher#send() to know which StreamPublisher the message was sent to allowing construction of a scoped publishingId.

- In order to wait for a publisher confirm reliably using the listener registered against a Client, we need access to the publisherId and connectionId to properly scope a publishingId
  - PublishConfirmResponse and PublishErrorResponse changed so that publisherId is public (readonly)
  - Client publish_confirm and publish_error listeners are now passed an extra connectionId argument. Combined with the now visible publisherId, a scoped publishingId can be constructed
  - SendResult changed to include a reference to the publisher, which allows the caller of SuperStreamPublisher#send() to know which StreamPublisher the message was sent to allowing construction of a scoped publishingId.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant