Skip to content

Unsafe.unsafe Usage in ScribeContext #8

Description

@arashi01

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions