Skip to content

Commit c116beb

Browse files
updated readme.
1 parent 182739f commit c116beb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ public error$ = this.notificationService.error$;
8383

8484
getEmployeesByName(searchName: string) {
8585
// Fetch employees by name.
86+
// The employeeApiService method returns an Observable<Employee[]>.
87+
// The employees$ stream will be updated with the data.
88+
// The error$ stream will be updated with the error if any.
8689
this.notificationService.subscribe
8790
(
8891
this.employeeApiService.getEmployeesByName(searchName)

0 commit comments

Comments
 (0)