{"id":892,"date":"2023-08-23T17:04:09","date_gmt":"2023-08-23T15:04:09","guid":{"rendered":"https:\/\/epicmarketing.co.il\/notebook\/?p=892"},"modified":"2023-09-13T21:27:54","modified_gmt":"2023-09-13T19:27:54","slug":"basic-rxjs","status":"publish","type":"post","link":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/","title":{"rendered":"\u05d9\u05e1\u05d5\u05d3\u05d5\u05ea Rxjs"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u05d1\u05d0\u05e0\u05d2\u05d5\u05dc\u05e8 \u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1\u05e1\u05e4\u05e8\u05d9\u05d9\u05ea rxjs \u05d1\u05e2\u05d9\u05e7\u05e8 \u05dc\u05d8\u05d9\u05e4\u05d5\u05dc \u05d1\u05de\u05d9\u05d3\u05e2. rxjs \u05de\u05e9\u05de\u05e9\u05ea \u05dc\u05d8\u05d9\u05e4\u05d5\u05dc \u05d1\u05e7\u05d5\u05d3 \u05d0\u05e1\u05d9\u05e0\u05db\u05e8\u05d5\u05e0\u05d9, \u05dc\u05de\u05e9\u05dc \u05d1\u05e7\u05e9\u05d5\u05ea http. \u05d4\u05e1\u05e4\u05e8\u05d9\u05d9\u05d4 \u05de\u05d7\u05dc\u05d9\u05e4\u05d4 \u05d0\u05ea \u05d4\u05e6\u05d5\u05e8\u05da \u05d1\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-promises \u05d5\u05de\u05e0\u05d2\u05e0\u05d5\u05df async-await.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05e8\u05d0\u05d4 \u05d0\u05d9\u05da \u05e7\u05d5\u05d3 rxjs \u05de\u05d7\u05dc\u05d9\u05e3 \u05e7\u05d5\u05d3 js.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u05ea\u05d5\u05db\u05e0\u05d9\u05ea JS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05db\u05ea\u05d5\u05d1 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea js \u05e4\u05e9\u05d5\u05d8\u05d4 \u05d1\u05d4 \u05d9\u05e9 \u05ea\u05d9\u05d1\u05ea \u05d8\u05e7\u05e1\u05d8 \u05e9\u05d1\u05d4 \u05d0\u05e0\u05d7\u05e0\u05d5 \u05e2\u05d5\u05e7\u05d1\u05d9\u05dd \u05d0\u05d7\u05e8\u05d9 \u05de\u05d4 \u05e9\u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05de\u05db\u05e0\u05d9\u05e1 \u05dc\u05ea\u05d5\u05db\u05d4. \u05d0\u05dd \u05de\u05e9\u05ea\u05de\u05e9 \u05de\u05db\u05e0\u05d9\u05e1 \u05de\u05e1\u05e4\u05e8, \u05e0\u05d3\u05e4\u05d9\u05e1 \u05d0\u05d5\u05ea\u05d5 \u05dc\u05e7\u05d5\u05e0\u05e1\u05d5\u05dc. \u05d0\u05dd \u05de\u05e9\u05ea\u05de\u05e9 \u05de\u05db\u05e0\u05d9\u05e1 \u05de\u05e9\u05d4\u05d5 \u05e9\u05d4\u05d5\u05d0 \u05dc\u05d0 \u05de\u05e1\u05e4\u05e8, \u05e0\u05e6\u05d9\u05d2 \u05e9\u05d2\u05d9\u05d0\u05d4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05e7\u05d5\u05d1\u05e5 html<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;input \/&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e7\u05d5\u05d1\u05e5 js<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst input = document.querySelector(&#039;input&#039;);\ninput.addEventListener(&#039;input&#039;, (event) =&gt; {\n  let text = event.target.value;\n  text = parseInt(text);\n  \n  if(isNaN(text)){\n    throw new Error(&#039;Enter a number&#039;);\n  }\n  logValue(text);\n})\n\nconst logValue = (value) =&gt; {\n  console.log(`Your value is ${value}`);\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 \u05dc\u05e0\u05d5 \u05d0\u05dc\u05de\u05e0\u05d8 input \u05e9\u05d4\u05d5\u05d0 \u05d4\u05de\u05e7\u05d5\u05e8 \u05dc\u05d0\u05d9\u05e8\u05d5\u05e2\u05d9\u05dd. \u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05e7\u05d1\u05dc\u05d9\u05dd \u05d3\u05e8\u05da listener \u05db\u05e9\u05de\u05ea\u05d1\u05e6\u05e2\u05ea \u05e4\u05e2\u05d5\u05dc\u05d4 \u05d5\u05de\u05ea\u05d7\u05d9\u05dc\u05d9\u05dd \u05e1\u05d3\u05e8\u05d4 \u05e9\u05dc \u05e4\u05e2\u05d5\u05dc\u05d5\u05ea. \u05d1\u05d7\u05dc\u05e7 \u05de\u05d4\u05e6\u05e2\u05d3\u05d9\u05dd \u05ea\u05d4\u05d9\u05d4 \u05e9\u05d2\u05d9\u05d0\u05d4 \u05d5\u05d0\u05d6 \u05d4\u05d1\u05d9\u05e6\u05d5\u05e2 \u05d9\u05e2\u05e6\u05d5\u05e8. \u05d0\u05dd \u05d4\u05db\u05dc \u05d1\u05e1\u05d3\u05e8 \u05d4\u05d1\u05d9\u05e6\u05d5\u05e2 \u05d9\u05de\u05e9\u05d9\u05da \u05d5\u05d4\u05e2\u05e8\u05da \u05e9\u05de\u05ea\u05e7\u05d1\u05dc \u05e2\u05d5\u05d1\u05e8 \u05dc\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05dc\u05d8\u05d9\u05e4\u05d5\u05dc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05da \u05e0\u05e8\u05d0\u05d4 \u05ea\u05e8\u05e9\u05d9\u05dd \u05e9\u05dc \u05d4\u05e4\u05e2\u05d5\u05dc\u05d4 \u05d1\u05ea\u05d5\u05db\u05e0\u05d9\u05ea js.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"560\" height=\"331\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/js-event-flow.drawio.png\" alt=\"\" class=\"wp-image-895\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/js-event-flow.drawio.png 560w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/js-event-flow.drawio-300x177.png 300w\" sizes=\"(max-width: 560px) 100vw, 560px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-Rxjs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05ea\u05e8\u05d2\u05dd \u05d0\u05ea \u05d4\u05d3\u05e8\u05da \u05e9\u05e2\u05d5\u05d1\u05e8\u05d9\u05dd \u05d1\u05ea\u05d5\u05db\u05e0\u05d9\u05ea js \u05dc\u05de\u05d5\u05e9\u05d2\u05d9\u05dd \u05e9\u05dc \u05d0\u05e0\u05d2\u05d5\u05dc\u05e8.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Observable<\/strong> &#8211; \u05de\u05e7\u05d5\u05e8 \u05d4\u05d0\u05d9\u05e8\u05d5\u05e2\u05d9\u05dd \u05dc\u05d0\u05d5\u05e8\u05da \u05d4\u05d6\u05de\u05df. \u05d0\u05e0\u05d7\u05e0\u05d5 \u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05d4\u05d0\u05d6\u05d9\u05df \u05dc\u05d0\u05d9\u05e8\u05d5\u05e2\u05d9\u05dd \u05d4\u05d0\u05dc\u05d4 \u05d5\u05dc\u05d1\u05e6\u05e2 \u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05d1\u05d4\u05ea\u05d0\u05dd \u05dc\u05d4\u05dd \u05d5\u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05e2\u05e8\u05db\u05d9\u05dd \u05e9\u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05e7\u05d1\u05dc\u05d9\u05dd \u05dc\u05d1\u05d9\u05e6\u05d5\u05e2 \u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05e9\u05d5\u05e0\u05d5\u05ea \u05d1\u05d0\u05e4\u05dc\u05d9\u05e7\u05e6\u05d9\u05d4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Operators<\/strong> &#8211; \u05de\u05e7\u05d1\u05dc\u05d9\u05dd \u05e2\u05e8\u05da, \u05d5\u05e2\u05d5\u05e9\u05d9\u05dd \u05e2\u05dc\u05d9\u05d5 \u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05d5\u05de\u05e2\u05d1\u05d9\u05e8\u05d9\u05dd \u05d0\u05d5\u05ea\u05d5 \u05dc\u05e9\u05dc\u05d1 \u05d4\u05e2\u05d9\u05d1\u05d5\u05d3 \u05d4\u05d1\u05d0. \u05d9\u05db\u05d5\u05dc\u05d9\u05dd \u05dc\u05d4\u05d9\u05d5\u05ea \u05db\u05de\u05d4 operators. \u05db\u05dc \u05d4-operators \u05e0\u05db\u05e0\u05e1\u05d9\u05dd \u05dc\u05ea\u05d4\u05dc\u05d9\u05da \u05e9\u05dc pipe.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Observer<\/strong> &#8211; \u05d4\u05ea\u05d5\u05e6\u05d0\u05d4 \u05e9\u05dc \u05d4\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05ea\u05d4\u05d9\u05d4 \u05d0\u05d5 \u05e9\u05d2\u05d9\u05d0\u05d4 \u05d0\u05d5 \u05d4\u05db\u05dc \u05d1\u05e1\u05d3\u05e8. \u05d0\u05dd \u05d9\u05e9 \u05e9\u05d2\u05d9\u05d0\u05d4, \u05dc\u05d0 \u05e0\u05de\u05e9\u05d9\u05da \u05d0\u05ea \u05d4\u05e4\u05e2\u05d9\u05dc\u05d5\u05ea \u05d5\u05e0\u05d8\u05e4\u05dc \u05d1\u05e9\u05d2\u05d9\u05d0\u05d4. \u05d0\u05dd \u05d4\u05d2\u05e2\u05e0\u05d5 \u05dc\u05e1\u05d5\u05e3 \u05e0\u05e2\u05d1\u05d9\u05e8 \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05dc\u05de\u05d9 \u05e9\u05e6\u05e8\u05d9\u05da \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05d5.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"586\" height=\"401\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/angular-event-flow.drawio.png\" alt=\"\" class=\"wp-image-896\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/angular-event-flow.drawio.png 586w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/angular-event-flow.drawio-300x205.png 300w\" sizes=\"(max-width: 586px) 100vw, 586px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 \u05db\u05dc\u05d9 \u05dc\u05d4\u05ea\u05e0\u05e1\u05d5\u05ea \u05d5\u05d9\u05d6\u05d5\u05d0\u05dc\u05d9\u05ea \u05d1-rxjs \u05d1\u05db\u05ea\u05d5\u05d1\u05ea: <a href=\"https:\/\/out.stegrider.now.sh\">https:\/\/out.stegrider.now.sh<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Observable<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05e9\u05d5\u05d8\u05d4 \u05e9\u05e2\u05d5\u05e7\u05d1\u05ea \u05d0\u05d7\u05e8\u05d9 \u05e9\u05d9\u05e0\u05d5\u05d9\u05d9\u05dd \u05d1\u05ea\u05d9\u05d1\u05ea \u05d8\u05e7\u05e1\u05d8:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst { fromEvent } = Rx;\n\nconst input = document.createElement(&#039;input&#039;);\nconst container = document.querySelector(&#039;.container&#039;);\ncontainer.appendChild(input);\n\n\/\/ We follow after the input element and watch the input event\n\/\/ We get an observable\n\/\/ The observable emit events and we can do processing on them.\nconst observable = fromEvent(input, &#039;input&#039;);\n\n\/\/ This is specific to the online tool only\nobservable;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05db\u05dc \u05e4\u05e2\u05dd \u05e9\u05d9\u05e9 \u05e4\u05e2\u05d5\u05dc\u05d4 \u05d1\u05e9\u05d3\u05d4 \u05d4-input \u05d9\u05e9 \u05d4\u05ea\u05e8\u05e2\u05d4 \u05e2\u05dc \u05d0\u05d9\u05e8\u05d5\u05e2 \u05d1-observable.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"717\" height=\"112\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observable-in-action.jpg\" alt=\"\" class=\"wp-image-899\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observable-in-action.jpg 717w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observable-in-action-300x47.jpg 300w\" sizes=\"(max-width: 717px) 100vw, 717px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 \u05dc\u05e0\u05d5 \u05d0\u05d9\u05e8\u05d5\u05e2\u05d9\u05dd, \u05d4\u05e9\u05dc\u05d1 \u05d4\u05d1\u05d0 \u05d4\u05d5\u05d0 \u05dc\u05d9\u05e6\u05d5\u05e8 \u05e8\u05e6\u05e3 \u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05e2\u05d9\u05d1\u05d5\u05d3, processing pipeline.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Operators<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Operators \u05d4\u05dd \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e9\u05de\u05d1\u05e6\u05e2\u05d5\u05ea \u05e2\u05d9\u05d1\u05d5\u05d3 \u05dc\u05e2\u05e8\u05db\u05d9\u05dd \u05e9\u05e2\u05d5\u05d1\u05e8\u05d9\u05dd \u05d1-pipe. \u05d4-observable \u05de\u05e4\u05e2\u05d9\u05dc \u05d0\u05d9\u05e8\u05d5\u05e2 \u05d5\u05d4\u05e2\u05e8\u05da \u05e2\u05d5\u05d1\u05e8 \u05dc\u05d1\u05d9\u05e6\u05d5\u05e2 \u05d4\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05e9\u05e2\u05dc\u05d9\u05d5. \u05d9\u05e9 \u05e4\u05e2\u05d5\u05dc\u05d4 \u05e9\u05de\u05e7\u05d1\u05dc\u05ea \u05d0\u05ea \u05d4\u05e2\u05e8\u05da, \u05e4\u05e2\u05d5\u05dc\u05d4 \u05e9\u05de\u05e2\u05d1\u05d3\u05ea \u05d0\u05ea \u05d4\u05d8\u05e7\u05e1\u05d8 \u05d5\u05db\u05d5'<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Map Operator<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e4\u05e2\u05d5\u05dc\u05ea map \u05de\u05e7\u05d1\u05dc\u05ea \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05d9\u05d5\u05e6\u05d0 \u05de\u05ea\u05d5\u05da \u05d4-observable \u05e9\u05dc\u05e0\u05d5, \u05de\u05d1\u05e6\u05e2\u05ea \u05e4\u05e2\u05d5\u05dc\u05d4, \u05d5\u05d4\u05ea\u05d5\u05e6\u05d0\u05d4 \u05de\u05de\u05e9\u05d9\u05db\u05d4 \u05dc\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05d4\u05d1\u05d0\u05d5\u05ea. \u05d0\u05e0\u05d7\u05e0\u05d5 \u05e7\u05d5\u05e8\u05d0\u05d9\u05dd \u05dc-pipe \u05d5\u05de\u05e9\u05e8\u05e9\u05e8\u05d9\u05dd \u05d1\u05ea\u05d5\u05db\u05d5 \u05d0\u05ea \u05db\u05dc \u05d4\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05e9\u05d0\u05e0\u05d7\u05e0\u05d5 \u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05d1\u05e6\u05e2 \u05dc\u05e4\u05d9 \u05d4\u05e1\u05d3\u05e8.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst observable = fromEvent(input, &#039;input&#039;)\n\t.pipe(\n  \tmap(event =&gt; console.log(event))\n  )\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d3\u05e4\u05d9\u05e1 \u05d0\u05ea \u05d4-event \u05d5\u05e0\u05e8\u05d0\u05d4 \u05e9\u05de\u05e7\u05d1\u05dc\u05d9\u05dd \u05d0\u05d9\u05e8\u05d5\u05e2 html \u05e9\u05dc \u05d4\u05db\u05e0\u05e1\u05ea input.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"586\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-input-event-1024x586.jpg\" alt=\"\" class=\"wp-image-900\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-input-event-1024x586.jpg 1024w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-input-event-300x172.jpg 300w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-input-event-768x440.jpg 768w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-input-event.jpg 1083w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d5\u05db\u05dc \u05dc\u05d4\u05d7\u05d6\u05d9\u05e8 \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05d4\u05d5\u05e7\u05dc\u05d3 \u05db\u05de\u05d5 \u05e9\u05e0\u05d2\u05e9\u05e0\u05d5 \u05d0\u05dc\u05d9\u05d5 \u05e7\u05d5\u05d3\u05dd \u05d3\u05e8\u05da \u05e7\u05d5\u05d3 \u05d4-js. \u05d1\u05e7\u05d5\u05d3 \u05d4\u05d1\u05d0 \u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05d7\u05d6\u05d9\u05e8\u05d9\u05dd \u05de\u05e4\u05e2\u05d5\u05dc\u05ea \u05d4-map \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05d4\u05d5\u05e7\u05dc\u05d3. \u05d4\u05e4\u05e2\u05d5\u05dc\u05d4 \u05d4\u05d1\u05d0\u05d4 \u05d1-pipeline \u05e9\u05dc\u05e0\u05d5 \u05dc\u05d0 \u05ea\u05e8\u05d0\u05d4 \u05d0\u05ea \u05d4-event, \u05d0\u05dc\u05d0 \u05e8\u05e7 \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05de\u05d5\u05d7\u05d6\u05e8 \u05de\u05e4\u05e2\u05d5\u05dc\u05ea \u05d4-map.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst observable = fromEvent(input, &#039;input&#039;)\n\t.pipe(\n  \tmap(event =&gt; event.target.value)\n  )\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d1\u05e6\u05e2 \u05e2\u05d5\u05d3 \u05e4\u05e2\u05d5\u05dc\u05ea map \u05d5\u05e0\u05e8\u05d0\u05d4 \u05de\u05d4 \u05d4\u05e2\u05e8\u05da \u05e9\u05de\u05d2\u05d9\u05e2 \u05d0\u05dc\u05d9\u05d4.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst observable = fromEvent(input, &#039;input&#039;)\n\t.pipe(\n  \tmap(event =&gt; event.target.value),\n    map(value =&gt; console.log(value))\n  )\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05db\u05e9\u05d9\u05d5 \u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05e7\u05d1\u05dc\u05d9\u05dd \u05d1-console \u05d0\u05ea \u05d4\u05e2\u05e8\u05db\u05d9\u05dd \u05d5\u05dc\u05d0 \u05d0\u05ea \u05d4\u05d0\u05d9\u05e8\u05d5\u05e2.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"152\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-event-map-1024x152.jpg\" alt=\"\" class=\"wp-image-902\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-event-map-1024x152.jpg 1024w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-event-map-300x44.jpg 300w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-event-map-768x114.jpg 768w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-event-map.jpg 1060w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d1\u05e6\u05e2 \u05d0\u05ea \u05d4\u05ea\u05d4\u05dc\u05d9\u05da \u05e9\u05d1\u05d9\u05e6\u05e2\u05e0\u05d5 \u05dc\u05de\u05e2\u05dc\u05d4 \u05d1\u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05d4-js.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst observable = fromEvent(input, &#039;input&#039;)\n\t.pipe(\n  \tmap(event =&gt; event.target.value),\n    map(value =&gt; parseInt(value)),\n    map(value =&gt; {\n     if(isNaN(value)){\n       throw new Error(&#039;Enter a number&#039;);\n     }\n     return value;\n    })\n   )\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05db\u05e9\u05d9\u05d5 \u05d0\u05dd \u05e0\u05db\u05e0\u05d9\u05e1 \u05e2\u05e8\u05da \u05de\u05e1\u05e4\u05e8\u05d9, \u05e0\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05d4\u05d6\u05d4.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observable-values.jpg\" alt=\"\" class=\"wp-image-904\" style=\"width:717px;height:120px\" width=\"717\" height=\"120\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observable-values.jpg 717w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observable-values-300x50.jpg 300w\" sizes=\"(max-width: 717px) 100vw, 717px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d5\u05d0\u05dd \u05e0\u05db\u05e0\u05d9\u05e1 \u05e2\u05e8\u05da \u05e9\u05d0\u05d9\u05e0\u05d5 \u05de\u05e1\u05e4\u05e8\u05d9 \u05e0\u05e8\u05d0\u05d4 \u05e9\u05e4\u05e2\u05d5\u05dc\u05ea \u05d4-observale \u05d4\u05d5\u05e4\u05e1\u05e7\u05d4.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"717\" height=\"137\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observable-error.jpg\" alt=\"\" class=\"wp-image-905\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observable-error.jpg 717w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observable-error-300x57.jpg 300w\" sizes=\"(max-width: 717px) 100vw, 717px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Observer<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e9\u05dc\u05d1 \u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05ea\u05d4\u05dc\u05d9\u05da \u05d4\u05d5\u05d0 \u05dc\u05d9\u05e6\u05d5\u05e8 observer \u05e9\u05d9\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05e2\u05e8\u05db\u05d9\u05dd \u05e9\u05d9\u05d5\u05e6\u05d0\u05d9\u05dd \u05de\u05d4-pipe \u05d0\u05d5 \u05de\u05d8\u05e4\u05dc \u05d1\u05e9\u05d2\u05d9\u05d0\u05d5\u05ea.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05e7\u05e8\u05d9\u05d0\u05d4 \u05dc-subscripbe \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e2\u05d1\u05d9\u05e8 \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05d0\u05d5 \u05d0\u05d5\u05d1\u05d9\u05d9\u05e7\u05d8. \u05d4\u05d0\u05d5\u05d1\u05d9\u05d9\u05e7\u05d8 \u05d9\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 next \u05d5\u05d0\u05ea \u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 error. \u05d9\u05e9\u05e0\u05d4 \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05e0\u05d5\u05e1\u05e4\u05ea \u05e9\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05e9\u05d4\u05d9\u05d0 complete.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 next \u05e0\u05e7\u05e8\u05d0\u05ea \u05d1\u05db\u05dc \u05e4\u05e2\u05dd \u05e9\u05d9\u05e9 \u05dc\u05e0\u05d5 \u05d4\u05e4\u05e2\u05dc\u05d4 \u05e9\u05dc \u05d0\u05d9\u05e8\u05d5\u05e2 \u05d5\u05d9\u05d5\u05e6\u05d0 \u05e2\u05e8\u05da \u05de\u05d4-pipeline \u05e9\u05dc\u05e0\u05d5. \u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 error \u05e0\u05e7\u05e8\u05d0\u05ea \u05d0\u05dd \u05d9\u05e9 \u05e9\u05d2\u05d9\u05d0\u05d4 \u05d1\u05db\u05dc \u05d0\u05d7\u05d3 \u05de\u05d4\u05e9\u05dc\u05d1\u05d9\u05dd \u05e9\u05dc \u05d4-pipeline \u05e9\u05dc\u05e0\u05d5.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst observable = fromEvent(input, &#039;input&#039;)\n\t.pipe(\n  \tmap(event =&gt; event.target.value),\n    map(value =&gt; parseInt(value)),\n    map(value =&gt; {\n     if(isNaN(value)){\n       throw new Error(&#039;Enter a number&#039;);\n     }\n     return value;\n    })\n  )\n\nobservable.subscribe({\n\tnext(value){\n    console.log(`Your value is ${value}`);\n  },\n  error(err){\n    console.error(&#039;Error happened!&#039;, err.message);\n  }\n});\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05e8\u05d0\u05d4 \u05d0\u05ea \u05d4\u05ea\u05d5\u05e6\u05d0\u05d4 \u05e9\u05dc \u05d4\u05db\u05e0\u05e1\u05ea \u05e2\u05e8\u05db\u05d9\u05dd \u05ea\u05e7\u05d9\u05e0\u05d9\u05dd:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"121\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observer-values-1024x121.jpg\" alt=\"\" class=\"wp-image-908\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observer-values-1024x121.jpg 1024w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observer-values-300x35.jpg 300w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observer-values-768x91.jpg 768w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observer-values.jpg 1068w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d5\u05d6\u05d0\u05ea \u05d4\u05ea\u05d5\u05e6\u05d0\u05d4 \u05d1\u05d4\u05db\u05e0\u05e1\u05ea \u05e2\u05e8\u05da \u05dc\u05d0 \u05ea\u05e7\u05d9\u05df:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"131\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observer-error-1024x131.jpg\" alt=\"\" class=\"wp-image-909\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observer-error-1024x131.jpg 1024w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observer-error-300x38.jpg 300w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observer-error-768x99.jpg 768w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/observer-error.jpg 1068w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05ea\u05d9\u05e2\u05d5\u05d3 Operators<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05ea\u05d9\u05e2\u05d5\u05d3 \u05e2\u05dc rxjs \u05d0\u05e4\u05e9\u05e8 \u05dc\u05de\u05e6\u05d5\u05d0 \u05d1\u05db\u05ea\u05d5\u05d1\u05ea: <a href=\"https:\/\/rxjs.dev\">https:\/\/rxjs.dev<\/a>. \u05d1\u05db\u05e0\u05d9\u05e1\u05d4 \u05dc-reference \u05d0\u05e4\u05e9\u05e8 \u05dc\u05de\u05e6\u05d5\u05d0 \u05d0\u05ea \u05db\u05dc \u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e9\u05d9\u05e9 \u05d1\u05e1\u05e4\u05e8\u05d9\u05d9\u05d4.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"378\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-documentation-1024x378.jpg\" alt=\"\" class=\"wp-image-914\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-documentation-1024x378.jpg 1024w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-documentation-300x111.jpg 300w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-documentation-768x283.jpg 768w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-documentation-1536x566.jpg 1536w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-documentation.jpg 1898w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u05de\u05d9\u05d5\u05df \u05e2\u05dc \u05e4\u05d9 \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05d9\u05ea\u05df \u05d1\u05de\u05d5\u05e8\u05d3 \u05d4\u05d3\u05e3 \u05d0\u05ea \u05d4\u05d7\u05dc\u05e7 \u05e9\u05dc \u05d4\u05d0\u05d5\u05e4\u05e8\u05d8\u05d5\u05e8\u05d9\u05dd \u05e9\u05dc \u05d4\u05e1\u05e4\u05e8\u05d9\u05d9\u05d4.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"113\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-api-list-1024x113.jpg\" alt=\"\" class=\"wp-image-915\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-api-list-1024x113.jpg 1024w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-api-list-300x33.jpg 300w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-api-list-768x85.jpg 768w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/rxjs-api-list.jpg 1243w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 \u05e9\u05dc\u05d5\u05e9 \u05e7\u05d1\u05d5\u05e6\u05d5\u05ea \u05de\u05e8\u05db\u05d6\u05d9\u05d5\u05ea \u05e9\u05dc \u05d0\u05d5\u05e4\u05e8\u05d8\u05d5\u05e8\u05d9\u05dd.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05e9\u05d9\u05e0\u05d5\u05d9 <\/strong>&#8211; \u05dc\u05d5\u05e7\u05d7\u05d9\u05dd \u05e2\u05e8\u05da, \u05de\u05d1\u05e6\u05e2\u05d9\u05dd \u05ea\u05d4\u05dc\u05d9\u05da \u05d5\u05de\u05d7\u05d6\u05d9\u05e8\u05d9\u05dd \u05e2\u05e8\u05da \u05d7\u05d3\u05e9 \u05e9\u05de\u05de\u05e9\u05d9\u05da \u05d1-pipleine. \u05d0\u05d5\u05e4\u05e8\u05d8\u05d5\u05e8 \u05d4-map \u05d4\u05d5\u05d0 \u05d0\u05d7\u05d3 \u05d4\u05de\u05e8\u05db\u05d6\u05d9\u05d9\u05dd \u05d1\u05e7\u05d1\u05d5\u05e6\u05d4 \u05d4\u05d6\u05d0\u05ea.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05e4\u05d9\u05dc\u05d8\u05e8 <\/strong>&#8211; \u05e9\u05dc\u05d9\u05d8\u05d4 \u05d1\u05e8\u05e6\u05e3 \u05d4\u05d0\u05d9\u05e8\u05d5\u05e2\u05d9\u05dd \u05e9\u05e2\u05d5\u05d1\u05e8\u05d9\u05dd \u05d1-pipeline. \u05dc\u05de\u05e9\u05dc \u05dc\u05d0\u05e1\u05d5\u05e3 \u05d0\u05d9\u05e8\u05d5\u05e2\u05d9\u05dd \u05dc\u05de\u05e2\u05e8\u05da, \u05dc\u05e2\u05e6\u05d5\u05e8 \u05d0\u05d9\u05e8\u05d5\u05e2\u05d9\u05dd \u05d5\u05db\u05d5'<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05d9\u05e6\u05d9\u05e8\u05d4 <\/strong>&#8211; \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e9\u05d9\u05d5\u05e6\u05e8\u05d5\u05ea observables \u05d7\u05d3\u05e9\u05d9\u05dd.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05d5\u05e4\u05e8\u05d8\u05d5\u05e8 map \u05dc\u05de\u05e9\u05dc, \u05e9\u05d4\u05e9\u05ea\u05de\u05e9\u05e0\u05d5 \u05d1\u05d5 \u05e7\u05d5\u05d3\u05dd, \u05e9\u05d9\u05d9\u05da \u05dc\u05e7\u05d1\u05d5\u05e6\u05ea \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05d4\u05e9\u05d9\u05e0\u05d5\u05d9.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u05e1\u05e4\u05e8\u05d9\u05d9\u05ea rxjs \u05de\u05e9\u05de\u05e9\u05ea \u05d1\u05d0\u05e0\u05d2\u05d5\u05dc\u05e8 \u05d1\u05e2\u05d9\u05e7\u05e8 \u05dc\u05d8\u05d9\u05e4\u05d5\u05dc \u05d1\u05de\u05d9\u05d3\u05e2 \u05d5\u05e7\u05d1\u05dc\u05ea \u05de\u05d9\u05d3\u05e2 \u05d0\u05e1\u05d9\u05e0\u05db\u05e8\u05d5\u05e0\u05d9 \u05de\u05de\u05e7\u05d5\u05e8\u05d5\u05ea \u05d7\u05d9\u05e6\u05d5\u05e0\u05d9\u05d9\u05dd \u05dc\u05ea\u05d5\u05db\u05e0\u05d9\u05ea.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[22,24],"tags":[],"class_list":["post-892","post","type-post","status-publish","format-standard","hentry","category-angular-rxjs","category-angular","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u05d9\u05e1\u05d5\u05d3\u05d5\u05ea Rxjs - Code Notebook<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/\" \/>\n<meta property=\"og:locale\" content=\"he_IL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u05d9\u05e1\u05d5\u05d3\u05d5\u05ea Rxjs - Code Notebook\" \/>\n<meta property=\"og:description\" content=\"\u05e1\u05e4\u05e8\u05d9\u05d9\u05ea rxjs \u05de\u05e9\u05de\u05e9\u05ea \u05d1\u05d0\u05e0\u05d2\u05d5\u05dc\u05e8 \u05d1\u05e2\u05d9\u05e7\u05e8 \u05dc\u05d8\u05d9\u05e4\u05d5\u05dc \u05d1\u05de\u05d9\u05d3\u05e2 \u05d5\u05e7\u05d1\u05dc\u05ea \u05de\u05d9\u05d3\u05e2 \u05d0\u05e1\u05d9\u05e0\u05db\u05e8\u05d5\u05e0\u05d9 \u05de\u05de\u05e7\u05d5\u05e8\u05d5\u05ea \u05d7\u05d9\u05e6\u05d5\u05e0\u05d9\u05d9\u05dd \u05dc\u05ea\u05d5\u05db\u05e0\u05d9\u05ea.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Notebook\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-23T15:04:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-13T19:27:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/js-event-flow.drawio.png\" \/>\n<meta name=\"author\" content=\"kerendanino\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3\" \/>\n\t<meta name=\"twitter:data1\" content=\"kerendanino\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u05d3\u05e7\u05d5\u05ea\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/basic-rxjs\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/basic-rxjs\\\/\"},\"author\":{\"name\":\"kerendanino\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\"},\"headline\":\"\u05d9\u05e1\u05d5\u05d3\u05d5\u05ea Rxjs\",\"datePublished\":\"2023-08-23T15:04:09+00:00\",\"dateModified\":\"2023-09-13T19:27:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/basic-rxjs\\\/\"},\"wordCount\":83,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/basic-rxjs\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/js-event-flow.drawio.png\",\"articleSection\":[\"Rxjs\",\"\u05d0\u05e0\u05d2\u05d5\u05dc\u05e8\"],\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/basic-rxjs\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/basic-rxjs\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/basic-rxjs\\\/\",\"name\":\"\u05d9\u05e1\u05d5\u05d3\u05d5\u05ea Rxjs - Code Notebook\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/basic-rxjs\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/basic-rxjs\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/js-event-flow.drawio.png\",\"datePublished\":\"2023-08-23T15:04:09+00:00\",\"dateModified\":\"2023-09-13T19:27:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/basic-rxjs\\\/#breadcrumb\"},\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/basic-rxjs\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/basic-rxjs\\\/#primaryimage\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/js-event-flow.drawio.png\",\"contentUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/js-event-flow.drawio.png\",\"width\":560,\"height\":331},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/basic-rxjs\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u05d9\u05e1\u05d5\u05d3\u05d5\u05ea Rxjs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"name\":\"Code Notebook\",\"description\":\"Easy coding\",\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"he-IL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\",\"name\":\"Code Notebook\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"contentUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"width\":3626,\"height\":1942,\"caption\":\"Code Notebook\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\",\"name\":\"kerendanino\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"caption\":\"kerendanino\"},\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/author\\\/kerendanino\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u05d9\u05e1\u05d5\u05d3\u05d5\u05ea Rxjs - Code Notebook","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/","og_locale":"he_IL","og_type":"article","og_title":"\u05d9\u05e1\u05d5\u05d3\u05d5\u05ea Rxjs - Code Notebook","og_description":"\u05e1\u05e4\u05e8\u05d9\u05d9\u05ea rxjs \u05de\u05e9\u05de\u05e9\u05ea \u05d1\u05d0\u05e0\u05d2\u05d5\u05dc\u05e8 \u05d1\u05e2\u05d9\u05e7\u05e8 \u05dc\u05d8\u05d9\u05e4\u05d5\u05dc \u05d1\u05de\u05d9\u05d3\u05e2 \u05d5\u05e7\u05d1\u05dc\u05ea \u05de\u05d9\u05d3\u05e2 \u05d0\u05e1\u05d9\u05e0\u05db\u05e8\u05d5\u05e0\u05d9 \u05de\u05de\u05e7\u05d5\u05e8\u05d5\u05ea \u05d7\u05d9\u05e6\u05d5\u05e0\u05d9\u05d9\u05dd \u05dc\u05ea\u05d5\u05db\u05e0\u05d9\u05ea.","og_url":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/","og_site_name":"Code Notebook","article_published_time":"2023-08-23T15:04:09+00:00","article_modified_time":"2023-09-13T19:27:54+00:00","og_image":[{"url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/js-event-flow.drawio.png","type":"","width":"","height":""}],"author":"kerendanino","twitter_card":"summary_large_image","twitter_misc":{"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3":"kerendanino","\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da":"6 \u05d3\u05e7\u05d5\u05ea"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/#article","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/"},"author":{"name":"kerendanino","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c"},"headline":"\u05d9\u05e1\u05d5\u05d3\u05d5\u05ea Rxjs","datePublished":"2023-08-23T15:04:09+00:00","dateModified":"2023-09-13T19:27:54+00:00","mainEntityOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/"},"wordCount":83,"commentCount":1,"publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/#primaryimage"},"thumbnailUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/js-event-flow.drawio.png","articleSection":["Rxjs","\u05d0\u05e0\u05d2\u05d5\u05dc\u05e8"],"inLanguage":"he-IL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/","url":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/","name":"\u05d9\u05e1\u05d5\u05d3\u05d5\u05ea Rxjs - Code Notebook","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#website"},"primaryImageOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/#primaryimage"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/#primaryimage"},"thumbnailUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/js-event-flow.drawio.png","datePublished":"2023-08-23T15:04:09+00:00","dateModified":"2023-09-13T19:27:54+00:00","breadcrumb":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/#breadcrumb"},"inLanguage":"he-IL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/"]}]},{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/#primaryimage","url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/js-event-flow.drawio.png","contentUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/08\/js-event-flow.drawio.png","width":560,"height":331},{"@type":"BreadcrumbList","@id":"https:\/\/epicmarketing.co.il\/notebook\/basic-rxjs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/epicmarketing.co.il\/notebook\/"},{"@type":"ListItem","position":2,"name":"\u05d9\u05e1\u05d5\u05d3\u05d5\u05ea Rxjs"}]},{"@type":"WebSite","@id":"https:\/\/epicmarketing.co.il\/notebook\/#website","url":"https:\/\/epicmarketing.co.il\/notebook\/","name":"Code Notebook","description":"Easy coding","publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/epicmarketing.co.il\/notebook\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"he-IL"},{"@type":"Organization","@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization","name":"Code Notebook","url":"https:\/\/epicmarketing.co.il\/notebook\/","logo":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/","url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","contentUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","width":3626,"height":1942,"caption":"Code Notebook"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c","name":"kerendanino","image":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","caption":"kerendanino"},"url":"https:\/\/epicmarketing.co.il\/notebook\/author\/kerendanino\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/comments?post=892"}],"version-history":[{"count":11,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/892\/revisions"}],"predecessor-version":[{"id":916,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/892\/revisions\/916"}],"wp:attachment":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/media?parent=892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/categories?post=892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/tags?post=892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}