Skip to content

Commit

Permalink
Fixed init of continuation
Browse files Browse the repository at this point in the history
  • Loading branch information
YohDeadfall committed Dec 25, 2023
1 parent b83581a commit 3d65770
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Kinetic/Linq/ObservableView.SelectAsync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -329,4 +329,4 @@ public void Create<TContinuation>(in TContinuation continuation, ObserverStateMa
where TContinuation : struct, IObserverStateMachine<ObservableViewItem<T>> =>
source.ContinueWith(new SelectorStateMachine<T, TContinuation>(continuation, _item));
}
}
}
3 changes: 2 additions & 1 deletion src/Kinetic/Linq/ObservableView.Where.cs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ public WherePredicateStateMachine(in TContinuation continuation, WhereStateMachi
public void Dispose() =>
_continuation.Dispose();

public void Initialize(ObserverStateMachineBox box) { }
public void Initialize(ObserverStateMachineBox box) =>
_continuation.Initialize(box);

public void OnCompleted() =>
_continuation.OnCompleted();
Expand Down

0 comments on commit 3d65770

Please sign in to comment.