UNPKG

@tsdotnet/lazy

Version:

Lazy<T> and ResettableLazy<T> class for simplifying lazy initialization.

11 lines (7 loc) 601 B
# ![alt text](https://avatars1.githubusercontent.com/u/64487547?s=30 "tsdotnet") tsdotnet / lazy [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/tsdotnet/lazy/blob/master/LICENSE) ![npm-publish](https://github.com/tsdotnet/lazy/workflows/npm-publish/badge.svg) [![npm version](https://img.shields.io/npm/v/@tsdotnet/lazy.svg?style=flat-square)](https://www.npmjs.com/package/@tsdotnet/lazy) `Lazy<T>` and `ResettableLazy<T>` classes for simplifying lazy initialization. ## Docs [tsdotnet.github.io/lazy](https://tsdotnet.github.io/lazy/)