Closed daniel-white closed 3 years ago
provides another factory pattern akin to @scoped(Lifecycle.ContainerScoped). This uses WeakMap to store the cache in the closure. an alternative implementation for #140
@scoped(Lifecycle.ContainerScoped)
WeakMap
provides another factory pattern akin to
@scoped(Lifecycle.ContainerScoped)
. This usesWeakMap
to store the cache in the closure. an alternative implementation for #140