Kilian Valkhof on Nostr: npub1c353w…89pmh to be specific I have two: one for my own app that stays in one ...
npub1c353w465eg94sjctq7kh03f9zajjqqsg9wzmg20gc8tvqwm6u54sm89pmh (npub1c35…9pmh) to be specific I have two: one for my own app that stays in one process, and another one that uses inter process communication that's a little more involved.
Here's the code for my in-process bus: https://gist.github.com/Kilian/9b0b6f81f3c798c85efc48ad7ec11279 The real implementation also has invoke/handle (async events that wait for a return value), but those are just new functions on the class.
Here's the code for my in-process bus: https://gist.github.com/Kilian/9b0b6f81f3c798c85efc48ad7ec11279 The real implementation also has invoke/handle (async events that wait for a return value), but those are just new functions on the class.