lite_ref 0.2.1 lite_ref: ^0.2.1 copied to clipboard
A lightweight dependency injection package with support for overriding for testing.
0.2.1 #
- Internal performance improvements
- fix minor bug where async singleton would not be replace when overridden
0.2.0 #
- separate singleton and transient instantiation use:
Ref.singleton
,Ref.transient
,Ref.asyncSingleton
andRef.asyncTransient
- add
assertInstance
getter for synchronous access to a AsyncSingletonRef
0.1.0 #
- prevent race condition when fetching async singleton
- add
assertInstance
getter for synchronous access to a LiteAsyncRef - add
.freeze()
method which disables overriding
0.0.2 #
- Update readme
0.0.1 #
- Initial release