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

Make EvenStoreCatchupSubscription Async #927

Merged
merged 1 commit into from
May 24, 2016

Conversation

hayley-jean
Copy link
Member

Patches and reintroduces the changes in this PR #837

Using the AttachedToParent continuation option on the task that was reading the historical events from the connection was causing a StackOverflowException when too many nested tasks were created.

This has been changed to use the default continuation option, and a taskCompletionSource is used to determine whether the subscription has finished reading the historical events from the stream.

Use the default TaskContinuationOptions when reading the historical events
from the connection, instead of AttachedToParent.
@pgermishuys pgermishuys merged commit dbb4bb8 into release-v3.7.0 May 24, 2016
@pgermishuys pgermishuys deleted the async-catchup-sub branch May 24, 2016 12:14
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.

None yet

3 participants