sanic-org / sanic

Accelerate your web app development | Build fast. Run fast.

Home Page:https://sanic.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow multiplexer to start new ad-hoc processes

ahopkins opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

It was brought up in the Discord server.

The idea would be to allow a running worker to use the multiplexer to start new managed processes. Something like this:

app.m.start_process(some_func, some_args, some_kwargs)

Additional context

No response