Owen Pearson

Results 41 comments of Owen Pearson
trafficstars

Hey again @TranquilMarmot, Apologies for the confusion here - the reason try catch isn't working is because `client.close` isn't actually throwing the exception. The "Connection closed" error is a generic...

Hey @lucadalli, thanks for reaching out! This sounds like a race condition where you're calling `channel.attach` without waiting for the operation to complete and subsequently calling `channel.enterClient`. The fix should...

@lucadalli thanks for clarifying, that certainly looks like something is going wrong with the library. You're right that `enterClient` implicitly attaches and that the `enterClient` method is on `RealtimePresence`, not...

Hey @Andrioden, thanks for the report and repro! It seems like this is just a manifestation of https://github.com/import-js/eslint-plugin-import/issues/2703, which is an issue with eslint-plugin-import not being able to parse the...

For visibility: this issue has been reported again and we've found that the following workaround using Spring can be used in this instance to allow reflection on `AblyRest.channels`. Obviously the...

I personally have mixed feelings about this - I use black locally for development but I'm not a fan of some of the behaviour, for example: ```python # before black...

Ah fair enough, i didn't realise you could configure that behaviour with `black`, that's good to know :) I do certainly see the value in having consistent formatting, I just...

i dunno if "most people" is correct, personally i don't like them. and like before, even if we add all of this tooling there will still be occasions where you...

Hey @hsghori, thanks for reaching out! I understand your concern with asynchronous operations changing internal state, however we have aimed to design the library so that it 'just works' without...

Hey @hsghori, here's an example of using the batch API. Note that while this example publishes a single 'batch spec', you can also publish an array of batch specs in...