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

Allow for enumeration of intel #325

Open
mavam opened this Issue Apr 4, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@mavam
Copy link
Member

mavam commented Apr 4, 2019

The intel framework currently doesn't provide a public API for enumerating the contained intel. The global data_store instance is not exported. However, I'm not sure if exporting it would be a clean solution, because it's only available at the master.

How do other scripts handle such a use case? Provide a function that takes a callback? For example, if we had a public function Intel::for_each(f) with f being an instance of function(x: Intel::Item), we wouldn't have to export the internal representation of intel but still allow for enumeration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.