Skip to content

Conversation

@akarnokd
Copy link
Collaborator

Use the lock-free HalfSerializer approach in TakeUntil(DateTimeOffset), similar to #550.

Remove unused TakeUntilTerminalException, replaced by ExceptionHelper in #563.


public void Run(TakeUntil<TSource> parent)
{
SetUpstream(parent._scheduler.Schedule(this, parent._endTime, (_, state) => state.Tick()));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use the upstream for source subscription, and use the local disposable for the timer? Just to be more in line with the other operators.

@danielcweber danielcweber merged commit 4a801c6 into dotnet:master Jun 19, 2018
@akarnokd akarnokd deleted the TakeUntilTimedImprovements branch June 26, 2018 21:34
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.

2 participants