0.1.0 • Published 7 years ago
ts-lazy v0.1.0
ts-lazy
.Net Lazy for typescript
Install
npm install ts-lazy --save
Use
import { Lazy } from 'ts-lazy';
const lazyValue = new Lazy(() => 'value');
const result = lazyValue.value;
.Net Lazy for typescript
npm install ts-lazy --save
import { Lazy } from 'ts-lazy';
const lazyValue = new Lazy(() => 'value');
const result = lazyValue.value;