ninglex icon indicating copy to clipboard operation
ninglex copied to clipboard

support multiple *app* instances in a single process

Open tychoish opened this issue 5 years ago • 0 comments

Would you be interested in considering a pull request that moved things around so that it'd be possible to host/coordinate multiple applications within a single process, looking through the code, I think that the only implementations that would need to change are:

  • set-route
  • start
  • with-route

I think it'd be easy enough to either: create -with-app variants of these, that the existing functions could wrap or create a separate package with the alternate forms, and then re/export them through the existing package, potentially wrapping the parameterized app variants.

In either case, the current API and functionality would be preserved, and downstream users would not be impacted.

Is this something you'd be interested in considering!

tychoish avatar Jul 18 '20 16:07 tychoish