Skip to content

Provide an asynchronous API #1482

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

Open
rjmholt opened this issue May 6, 2020 · 0 comments
Open

Provide an asynchronous API #1482

rjmholt opened this issue May 6, 2020 · 0 comments
Milestone

Comments

@rjmholt
Copy link
Contributor

rjmholt commented May 6, 2020

PSSA2 should provide an API set that allows hosts to run PSSA asynchronously.

This includes:

  • A set of asynchronous methods to run analysis, with cancellation token support
  • A new rule executor that provides an asynchronous run strategy, including for non-threadsafe rules
  • An asynchronous rule API for rules wishing to implement their own asynchronous methods
    • It should be possible to implement an asynchronous and synchronous rule in the same class
  • An asynchronous harness for running synchronous rules with a minimum of overhead
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