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

Make the MarkdownPipeline thread safe / immutable #5

Closed
xoofx opened this issue May 30, 2016 · 0 comments
Closed

Make the MarkdownPipeline thread safe / immutable #5

xoofx opened this issue May 30, 2016 · 0 comments

Comments

@xoofx
Copy link
Owner

xoofx commented May 30, 2016

The MarkdownPipeline is currently not threadsafe and is not immutable.
Options are to use a MarkdownPipelineBuilder and a .Build() method that would freeze the pipeline into an opaque MarkdownPipeline

Quid of properties on parsers? We may not make it fully immutable (e.g we would leave OpeningCharacters not immutable to simplify the design and avoid having to introduce a freeze methods for parsers) but at least prevent parsers to be added/removed after the pipeline has been created. Still this has to be determined and documented clearly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant