IRC channel logs

2025-03-08.log

back to list of logs

<janneke>how to best i send a message ('ping) to a list of actors when not all of them implement it?
<janneke>*how to best send
<dthompson>janneke: send the messages and see which promises break
<dthompson>is there a reason for not having a uniform interface?
<janneke>dthompson: i guess the reason is just laziness; the previous implementation used reflection to filter-out objects that do not implement the method
<janneke>i can just as easily keep/create a list of actors that want to be ping'ed
<tsyesika>Not sure what you’re doing but if you’re just wondering if there’s been a disconnect in OCapN take a look at on-sever
<tsyesika>(Doesn’t work with the prelay netlayer *yet* but it’s actually what I’m working on at the moment so it will in the next release)