thedesk/app/node_modules/lazy-val/readme.md

11 lines
158 B
Markdown
Raw Normal View History

2019-09-13 00:38:13 +10:00
## lazy-val
Lazy value.
```typescript
class Lazy<T> {
constructor(creator: () => Promise<T>)
readonly hasValue: boolean
value: Promise<T>
}
```