on-internet
← Community

Angular 2 - Endless loop in async pipe

Stack Overflow ·

I`m getting an endless loop when I try to bind a async function like this: <tr *ngFor="let i of items"> <td>{{myAsyncFunc(i) | async}}</td> </tr> this is the function: private myAsyncFunc(i: string): Promise<string> { return Promise.resolve("some"); } I'm doing something wrong? Or this is a bug?

Comments

Sign in or sign up to comment and upvote.

No comments yet.