Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ffi): add async message iterator #442

Merged
merged 1 commit into from
Jun 16, 2024

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 <[email protected]>
@JP-Ellis JP-Ellis added the enhancement Indicates new feature requests label Jun 14, 2024
@JP-Ellis JP-Ellis self-assigned this Jun 14, 2024
@rholshausen rholshausen merged commit 3900dfa into master Jun 16, 2024
64 checks passed
@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.

2 participants