Skip to content
This repository has been archived by the owner on Dec 25, 2018. It is now read-only.

Commit

Permalink
Parking changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
electricessence committed May 20, 2016
1 parent d888fcc commit 4f63765
Show file tree
Hide file tree
Showing 74 changed files with 4,133 additions and 209 deletions.
19 changes: 13 additions & 6 deletions dist/commonjs/System/Lazy.d.ts
Expand Up @@ -6,17 +6,24 @@ import { DisposableBase } from "./Disposable/DisposableBase";
import { ILazy } from "./ILazy";
import { Func } from "./FunctionTypes";
export declare class Lazy<T> extends DisposableBase implements ILazy<T> {
private _closure;
private _isValueCreated;
private _value;
protected _closure: Func<T>;
protected _isValueCreated: boolean;
protected _value: T;
constructor(_closure: Func<T>);
isValueCreated: boolean;
canReset: boolean;
reset(throwIfCannotReset?: boolean): boolean;
value: T;
getValue(clearClosureReference?: boolean): T;
protected _error: any;
error: any;
getValue(): T;
protected _onValueRequested(): void;
protected _onDispose(): void;
equals(other: Lazy<T>): boolean;
valueEquals(other: Lazy<T>): boolean;
}
export declare class ResettableLazy<T> extends Lazy<T> {
getValue(clearClosureReference?: boolean): T;
protected _onValueRequested(): void;
canReset: boolean;
reset(throwIfCannotReset?: boolean): boolean;
}
export default Lazy;
87 changes: 66 additions & 21 deletions dist/commonjs/System/Lazy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4f63765

Please sign in to comment.