-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path6-es5.aaace3258f1f8fd43874.js
1 lines (1 loc) · 2.42 KB
/
6-es5.aaace3258f1f8fd43874.js
1
!function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{G7lC:function(n,i,a){"use strict";a.r(i),a.d(i,"GuideModule",function(){return m});var s=a("VbQ3"),c=a("An66"),o=a("kZht"),r=a("pTnX");a("5XID"),a("ROBh"),a("47ST"),a("P4Xx"),a("bwdy"),a("8j5Y"),a("YtkY"),a("4e/d"),a("ruxD"),a("7ntQ"),a("J+dc"),a("6uGs"),a("ENSU");var u,b,l,p=((u=function e(){t(this,e)}).\u0275fac=function(e){return new(e||u)},u.\u0275mod=o.Jb({type:u}),u.\u0275inj=o.Ib({imports:[[r.a],r.a]}),u),h=a("1VvW"),f=a("Ht68"),d=((l=function(){function n(e){t(this,n),this.apiClient=e}var i,a,s;return i=n,(a=[{key:"ngOnInit",value:function(){this.fetchData(),this.fetchData(),this.fetchData()}},{key:"fetchData",value:function(){this.apiClient.posts().subscribe(),this.apiClient.comments().subscribe(),this.apiClient.albums().subscribe(),this.apiClient.todos().subscribe(),this.apiClient.users().subscribe()}}])&&e(i.prototype,a),s&&e(i,s),n}()).\u0275fac=function(e){return new(e||l)(o.Lb(f.a))},l.\u0275cmp=o.Fb({type:l,selectors:[["guide"]],decls:18,vars:0,template:function(e,t){1&e&&(o.Ob(0,"div"),o.jc(1,"\n "),o.Ob(2,"h2"),o.jc(3,"DataHttpClientModule"),o.Nb(),o.jc(4,"\n "),o.Ob(5,"p"),o.jc(6,"\n Custom http client, with the ability to customize requests, auto unsubscribe and additional request\n interceptors.\n "),o.Nb(),o.jc(7,"\n "),o.Ob(8,"h2"),o.jc(9,"LimitConcurrency (optional)"),o.Nb(),o.jc(10,"\n "),o.Ob(11,"p"),o.jc(12,"\n There is almost no limit on the number of requests that can be sent in parallel, by default this value is 255,\n but if necessary, you can change it, for example by setting "),o.Ob(13,"b"),o.jc(14,"limitConcurrency: 5"),o.Nb(),o.jc(15,". This mean that maximum\n of 5 requests can be executed in parallel. Next one immediately start only if one of the previous requests is\n completed. Open the developer tool(F12 -> Network) and see how requests are sent.\n "),o.Nb(),o.jc(16,"\n"),o.Nb(),o.jc(17,"\n"))},encapsulation:2,changeDetection:0}),l),m=((b=function e(){t(this,e)}).\u0275fac=function(e){return new(e||b)},b.\u0275mod=o.Jb({type:b}),b.\u0275inj=o.Ib({imports:[[c.b,h.c.forChild([{path:"",component:d}]),p,s.d]]}),b)}}])}();