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

Daemons #48

Open
OneManEquipe opened this issue Aug 31, 2021 · 0 comments
Open

Daemons #48

OneManEquipe opened this issue Aug 31, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@OneManEquipe
Copy link
Collaborator

So... we have provers, we have listeners. Each is triggered by a method call, does it thing, streams its results, then stops.

But sometimes we could want a "never-ending process" that keeps internal state.

I'm not sure how to implement such a component, but it should be something like this:

  • we spawn the process (it could be a listener listening for a "Boot" signal or whatever), for example as an MailboxProcessor agent
  • we add listeners that receive input formulas and send them to the agent
  • the agent does whatever it needs to
  • to return values, the agent either sends them directly or starts a pondering and corresponding listeners receive it

As with many other things, this needs more thought :P

@OneManEquipe OneManEquipe added the enhancement New feature or request label Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant