4 ms·
The `navigator.sendBeacon()` is an awesome idea, I will definitly implement it in the future (it’s not so hard to do actually). I would also like to think abou
by GinQuin 4y ago
The `navigator.sendBeacon()` is an awesome idea, I will definitly implement it in the future (it’s not so hard to do actually).
I would also like to think about how to have the same « safe » communication system for sockets. It’s more complicated.
What do you mean by call/result logging?
- wruza 4y agoWhat do you mean by call/result logging? Just seeing calls with arguments and return values in some sort of log[file]. I like to see the traffic between ends while debugging. Libraries usually provide a logger callback in initial options, like this: new Foo({ …, log: (level, …values) => {…} }) I think the last time I browsed Gravity manual, it had some sort of “beforeCall” event where it’s possible to log without a special callback.