Skip to content

Conversation

@JP-Ellis
Copy link
Contributor

@JP-Ellis JP-Ellis commented Jun 14, 2024

Add a new V4 asynchronous message iterator. This mirrors the existing pact_handle_get_sync_message_iter and pact_handle_get_http_iter, and is the V4 counterpart for pact_handle_get_message_iter.

I have not marked the pact_handle_get_message_iter as deprecated; however, if the functionality of the new iterator supplants the older PactMessageIterator, it may be worth documenting the deprecation and directing people to use the new function/iterator.

PS: I have not written tests for it, but it would appear that the other iterators don't have tests either.

Add a new V4 asynchronous message iterator. This mirrors the existing
`pact_handle_get_sync_message_iter` and `pact_handle_get_http_iter`, and
is the V4 counterpart for `pact_handle_get_message_iter`.

I have not marked the `pact_handle_get_message_iter` as deprecated;
however, if the functionality of the new iterator supplants the older
`PactMessageIterator`, it may be worth documenting the deprecation and
directing people to use the new function/iterator.

Signed-off-by: JP-Ellis <josh@jpellis.me>
@JP-Ellis JP-Ellis added the enhancement Indicates new feature requests label Jun 14, 2024
@JP-Ellis JP-Ellis requested a review from rholshausen June 14, 2024 10:15
@JP-Ellis JP-Ellis self-assigned this Jun 14, 2024
@rholshausen rholshausen merged commit 3900dfa into master Jun 16, 2024
@rholshausen rholshausen deleted the feat/add-async-message-iter branch June 16, 2024 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Indicates new feature requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants