Skip to content

add expectedMessages$ flag#185

Merged
StarpTech merged 9 commits into
masterfrom
feature/intro_expect_timeout
Mar 7, 2018
Merged

add expectedMessages$ flag#185
StarpTech merged 9 commits into
masterfrom
feature/intro_expect_timeout

Conversation

@StarpTech

@StarpTech StarpTech commented Mar 3, 2018

Copy link
Copy Markdown
Member

This PR will add the expectedMessages$ flag which can be used to require a specific count of messages before a timeout error is thrown.

The default timeout handler isn't created anymore with nats.timeout but will be handled in the callback function of the requestor.

Other changes:

  • make request-reply sid inside act context public
  • update pino logger,
  • update nats peerDep
  • update docs

@StarpTech
StarpTech merged commit 6731cf8 into master Mar 7, 2018
@StarpTech
StarpTech deleted the feature/intro_expect_timeout branch March 10, 2018 09:38
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