X Tutup
Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions modules/angular2/src/core/pipes/async_pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ var _observableStrategy = new ObservableStrategy();
* The example below binds the `time` Observable to the view. Every 500ms, the `time` Observable
* updates the view with the current time.
*
* ```
* import {Observable} from 'angular2/core';
* @Component({
* selector: "task-cmp"
Expand All @@ -57,6 +58,7 @@ var _observableStrategy = new ObservableStrategy();
* observer.next(new Date().getTime(), 500);
* });
* }
* ```
*/
@Pipe({name: 'async', pure: false})
@Injectable()
Expand Down
X Tutup