ScribeContext uses Unsafe.unsafe to create FiberRef at module initialization. This is a safe use case (module initialization). Either we document this or peferably:
- Consider another pattern more suited to the task with greater safety guarantees without overhead
- Consider lazy val pattern if no solution meeting above requirement can be found
ScribeContextusesUnsafe.unsafeto create FiberRef at module initialization. This is a safe use case (module initialization). Either we document this or peferably:- Consider another pattern more suited to the task with greater safety guarantees without overhead
- Consider
lazy valpattern if no solution meeting above requirement can be found