style(docs-infra): fix indentation in rx-library
example (#31553)
PR Close #31553
This commit is contained in:
parent
c529be9f24
commit
edc51f76c4
@ -7,9 +7,9 @@ import { from } from 'rxjs';
|
|||||||
const data = from(fetch('/api/endpoint'));
|
const data = from(fetch('/api/endpoint'));
|
||||||
// Subscribe to begin listening for async result
|
// Subscribe to begin listening for async result
|
||||||
data.subscribe({
|
data.subscribe({
|
||||||
next(response) { console.log(response); },
|
next(response) { console.log(response); },
|
||||||
error(err) { console.error('Error: ' + err); },
|
error(err) { console.error('Error: ' + err); },
|
||||||
complete() { console.log('Completed'); }
|
complete() { console.log('Completed'); }
|
||||||
});
|
});
|
||||||
|
|
||||||
// #enddocregion promise
|
// #enddocregion promise
|
||||||
|
Loading…
x
Reference in New Issue
Block a user