You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does the package have an analog of map method but for thread beginning? I want to measure the time the thread spends but cannot find a way to catch the beginning of the thread run.
Which differences between methods map and finally? It looks slightly more logical to use finally, but it doesn't pass the task object in the callback. Could you please clarify this moment?
Thanks!
The text was updated successfully, but these errors were encountered:
There's no such equivalent. map is a method on the result placeholder. I guess you're looking to measure the time spent in the worker without counting the queue time in the parent? Otherwise you can just measure from before submitting the task to the worker.
map is only called if there's no exception, finally is always called, like code running after a throwing statement in a try/catch/finally block.
Hello there!
map
method but for thread beginning? I want to measure the time the thread spends but cannot find a way to catch the beginning of the thread run.map
andfinally
? It looks slightly more logical to usefinally
, but it doesn't pass the task object in the callback. Could you please clarify this moment?Thanks!
The text was updated successfully, but these errors were encountered: