Skip to content

Commit

Permalink
Hide some private members.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjrv committed Mar 30, 2016
1 parent 20aed1d commit 590b6e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ API
> > **.resume( )** <sup>&rArr; <code>PromiseType</code></sup>
> > &emsp;<em>Resolve the result of a delayed task and call onFinish when done.</em>
> > &emsp;&#x25aa; onFinish <sup><code>() => void</code></sup>
>
> Properties:
> > **.func** <sup><code>() => PromiseType</code></sup>
> > **.resolve** <sup><code>any</code></sup>
> > **.reject** <sup><code>any</code></sup>
>
> <a name="api-TaskQueue"></a>
> ### Class [`TaskQueue`](#api-TaskQueue)
Expand Down
6 changes: 3 additions & 3 deletions src/Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export class Task<PromiseType extends Promisy<PromiseType>> {
return(this.start(onFinish).then(this.resolve).catch(this.reject));
}

func: () => PromiseType;
private func: () => PromiseType;

resolve: any;
reject: any;
private resolve: any;
private reject: any;
}

0 comments on commit 590b6e3

Please sign in to comment.