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
哦,你说的是这个意思啊,是这样的,设置了New之后,调用workerCache.get()无法从代码结构上知道得到的 worker 是缓存的还是新建的,这不用New而用 if else 之前是想着后面可能会在这个 if 判断的不同分支里做一些其他的东西(虽然到现在好像也还没想到有什么可做的东西),所以其实我倒觉得无所谓了,两种做法都 ok 😂
Describe the bug
A clear and concise description of what the bug is.
没有设置 New 函数,这个是忘了还是有什么玄机呢
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Error messages/Trace logs
If applicable, add some logs to help explain your problem.
System info (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: