(
fiberId: FiberId.Runtime,
fiberRefs0: FiberRefs.FiberRefs,
runtimeFlags0: RuntimeFlags.RuntimeFlags
)
| 318 | public currentDefaultServices!: Context.Context<DefaultServices> |
| 319 | |
| 320 | constructor( |
| 321 | fiberId: FiberId.Runtime, |
| 322 | fiberRefs0: FiberRefs.FiberRefs, |
| 323 | runtimeFlags0: RuntimeFlags.RuntimeFlags |
| 324 | ) { |
| 325 | super() |
| 326 | this.currentRuntimeFlags = runtimeFlags0 |
| 327 | this._fiberId = fiberId |
| 328 | this._fiberRefs = fiberRefs0 |
| 329 | if (runtimeFlags_.runtimeMetrics(runtimeFlags0)) { |
| 330 | const tags = this.getFiberRef(core.currentMetricLabels) |
| 331 | fiberStarted.unsafeUpdate(1, tags) |
| 332 | fiberActive.unsafeUpdate(1, tags) |
| 333 | } |
| 334 | this.refreshRefCache() |
| 335 | } |
| 336 | |
| 337 | commit(): Effect.Effect<A, E, never> { |
| 338 | return internalFiber.join(this) |
nothing calls this directly
no test coverage detected