-
Notifications
You must be signed in to change notification settings - Fork 6
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
Better documentation of the context providers #48
Comments
Also, the plain context could handle grids on behalf of the operations: Since we cannot destroy an operation, in any other way than dropping the context itself, there is no ownership problems here |
I think the grid-handling in If I understand correctly, we just make a new copy, and then needlessly Ideally we would want the Arc to self-destruct when the last Do you agree with this @Rennzie, or have I gravely misunderstood something? |
This is probably me not fully understanding Rust, but I thought what the code was doing is what you describe here:
Where when the operators IIUC |
Yes, but this
Which is all as expected - but the So for now, I will just carry on and implement the |
Minimal
andPlain
both need documentation. Perhaps taking off from some documentation of theContext
trait itself.Note that the
Maximal
example in thetests
-folder comprises a fully self contained demonstration of how to implement a user defined context provider.The text was updated successfully, but these errors were encountered: