Closed giovinazzo-kevin closed 2 years ago
SolverContext
to encapsulate appropriately the SolverScope
and the ExceptionCancellationTokenSource
during the calls to Solve().CancellationToken
that's tied to a CancellationTokenSource
hidden within the SolverScope
. Choice points are introduced naturally by modifying the scope in place to "forget" about the previous cancellation source, and by encapsulating dependent queries in a new solver context.