Open sadym-chromium opened 2 months ago
Proposed solutions:
Event
and PromiseEvent
, add a concept of LambdaEvent
which will be evaluated only when the event has to be sent to the client. This would allow postponing the serialization till the moment they are really required.
Currently,
LogManager
:Runtime.consoleAPICalled
eventsThe step 2 requires a CDP call per element in the console message, and can be a massive in case of array with thouthands of elements was loggerd. However, the step 2 is not required until a subscription to the log is added.