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

Add some more documentation to factors #2636

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Add some more documentation to factors #2636

merged 1 commit into from
Jul 15, 2024

Conversation

rylev
Copy link
Collaborator

@rylev rylev commented Jul 12, 2024

First pass just giving a bit more context on the various pieces of the factors system. I think this will mainly help for hovering over types in IDEs to remind users what things are.

Besides documentation one code change is made: RuntimeFactors::build_store_data => RuntimeFactors::build_instance_state. I know that the value returned from this method is what gets passed to wasmtime::Store::new which refers to it as data, but given the rest of the factors framework refers to this as instance state (which is much more descriptive than wasmtime's nomenclature), I think this is a better name.

@rylev rylev requested a review from lann July 12, 2024 08:44
Signed-off-by: Ryan Levick <ryan.levick@fermyon.com>
@rylev rylev merged commit d71be3c into factors Jul 15, 2024
1 check passed
@rylev rylev deleted the more-docs branch July 15, 2024 09:01
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