Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced BindDeliverSubject with SubjectIsDelivery
As discussed with Matthias who came up with the idea, this is better because then we make use of the provided subject. Otherwise it was looking weird to have something which meaning was: ``` js.SubscribeSync("ignored", nats.BindDeliverSubject("p.d4")) ``` Instead you would now have: ``` sub, err = js.SubscribeSync("p.d4", nats.SubjectIsDelivery()) ``` Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
- Loading branch information
Showing
2 changed files
with
48 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters