Skip to content

As a user, I want to scope accross chronicle instances, so that I can use another class that's had one injected without loosing scope #10

@kana-ki

Description

@kana-ki

Going to have to move into ThreadLocals here - this is most robust solution for heavy class calls. However there are some things to note:

  • Using the chronicle inside of a nested thread, such as when using Thread or TPL, the scope stack will be reset.
  • If the chronicle instance attempts to cache the scope stack, another classes scope stack will not update it
    • It couldn't take the largest scope on get, because parallelism would conflict

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions