()
| 599 | } |
| 600 | |
| 601 | refreshRefCache() { |
| 602 | this.currentDefaultServices = this.getFiberRef(defaultServices.currentServices) |
| 603 | this.currentTracer = this.currentDefaultServices.unsafeMap.get(tracer.tracerTag.key) |
| 604 | this.currentSupervisor = this.getFiberRef(currentSupervisor) |
| 605 | this.currentScheduler = this.getFiberRef(currentScheduler) |
| 606 | this.currentContext = this.getFiberRef(core.currentContext) |
| 607 | this.currentSpan = this.currentContext.unsafeMap.get(tracer.spanTag.key) |
| 608 | } |
| 609 | |
| 610 | /** |
| 611 | * Wholesale replaces all fiber refs of this fiber. |
no test coverage detected