We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 267121e commit 7b3161aCopy full SHA for 7b3161a
modules/angular2/src/core/pipes/async_pipe.ts
@@ -44,6 +44,7 @@ var _observableStrategy = new ObservableStrategy();
44
* The example below binds the `time` Observable to the view. Every 500ms, the `time` Observable
45
* updates the view with the current time.
46
*
47
+ * ```
48
* import {Observable} from 'angular2/core';
49
* @Component({
50
* selector: "task-cmp"
@@ -57,6 +58,7 @@ var _observableStrategy = new ObservableStrategy();
57
58
* observer.next(new Date().getTime()), 500);
59
* });
60
* }
61
62
*/
63
@Pipe({name: 'async', pure: false})
64
@Injectable()
0 commit comments