Replies: 1 comment 9 replies
|
it would be great if you could write a snippet of code showing how you would like this to work exactly, so that I can picture this better. Not the RPC part but like how to initialize/deal with the long running thing. |
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I stumbled upon the requirement for a daemon process in 2 extensions i wanted to write now.
What i propose:
a part of the vicinae api which you can pass a extension or object which is long lived and you have access to on later command invocations.
ill give a example of how i would use it:
i wanted to implement a discord rpc extension. however for the status to be persistant the connection the socket needs to stay open.
there is a rpc object in the library i use. If i could pass that to vicinae to keep it alive and retrieve it later i could use the connection further.
Im not sure on the implementation details, including if its possible how i image it, though
All reactions