{"id":2167,"date":"2020-02-11T13:46:33","date_gmt":"2020-02-11T12:46:33","guid":{"rendered":"https:\/\/www.thecodecampus.de\/blog\/?p=2167"},"modified":"2025-04-17T13:29:14","modified_gmt":"2025-04-17T11:29:14","slug":"typescript-delay-with-async-await","status":"publish","type":"post","link":"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/","title":{"rendered":"Typescript delay with async\/await"},"content":{"rendered":"\r\n<p>Sometimes it is necessary in JavaScript to delay\/sleep a program for a certain time. Therefore we can generate this behavior ourselves using a small helper function, thanks to the asynchronous nature of javascript.<\/p>\r\n\r\n\r\n\r\n<p>For example:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>function sleep(ms: number) {\r\n    return new Promise(resolve =&gt;; setTimeout(resolve, ms));\r\n}<\/code><\/pre>\r\n\r\n\r\n\r\n<p>With this we can delay the program flow for a certain time in the following function<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>async function delayExample() {\r\n  \/\/Say Hello\r\n  console.log('Hello');\r\n  \/\/ Say World after 2000 milliseconds\r\n  await sleep(2000);\r\n  console.log(\"World\");\r\n}<\/code><\/pre>\r\n\r\n\r\n\r\n<p>But it should be mentioned here that <code>await<\/code> can only be used inside an async function.<\/p>\r\n\r\n<p><a style=\"display: inline-block;\" href=\"https:\/\/www.thecodecampus.de\/schulungen\/angular\"> <picture> <source srcset=\"https:\/\/www.thecodecampus.de\/blog\/wp-content\/uploads\/2025\/04\/weiter-entwickeln_anne_WP_big.png\" media=\"(min-width: 1024px)\" \/> <source srcset=\"https:\/\/www.thecodecampus.de\/blog\/wp-content\/uploads\/2025\/04\/weiter-entwickeln_anne_WP_medium.png\" media=\"(min-width: 600px)\" \/> <img decoding=\"async\" class=\"alignnone size-full wp-image-38\" src=\"https:\/\/www.thecodecampus.de\/blog\/wp-content\/uploads\/2025\/04\/weiter-entwickeln_anne_WP_small.png\" alt=\"Angular Schulungen\" \/> <\/picture> <\/a><\/p>\r\n\r\n<p>In addition a more advanced implementation is the following function<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"><code>function delay(ms: number, result?: T ) {\r\n  return new Promise(resolve =&gt;; setTimeout(() =&gt;; resolve(result), ms));\r\n}<\/code><\/pre>\r\n\r\n\r\n\r\n<p>For instance, here we can optionally create a generic, which is returned after a successful function call.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>async function delayExample() {\r\n  \/\/ Logs: \"Before sleep: and the current Date\"\r\n  console.log(\"Before sleep: \" + new Date().toString());\r\n  \/\/Logs after 1000 milliseconds: \"After Sleep: and the current Date\"\r\n  const result: string = await delay(1000, 'After sleep: ');\r\n  console.log(result + new Date().toString());\r\n}<\/code><\/pre>\r\n\r\n\r\n\r\n<p>For those who don&#8217;t want to implement such a help function every time themselves, there is the npm package delay which can be installed with the following command.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>$ npm install delay<\/code><\/pre>\r\n\r\n\r\n\r\n<p>and used as follows<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>import * as delay from 'delay';\r\n \r\n(async () =&gt;; {\r\n    bar();\r\n \r\n    await delay(100);\r\n \r\n    \/\/ Executed 100 milliseconds later\r\n    baz();\r\n})();<\/code><\/pre>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/www.npmjs.com\/package\/delay\">https:\/\/www.npmjs.com\/package\/delay<\/a><\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Sometimes it is necessary in JavaScript to delay\/sleep a program for a certain time. Therefore we can generate this behavior ourselves using a small helper function, thanks to the asynchronous nature of javascript. For example: <code>function sleep(ms: number) { return new Promise(resolve =&gt;; setTimeout(resolve, ms)); }<\/code> With this we can delay the program flow for [&#8230;]<br \/><a class=\"meta-big\" href=\"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/\"> READ MORE<\/a><\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,98,60],"tags":[112,107,108,131,61,129,130,75],"class_list":["post-2167","post","type-post","status-publish","format-standard","hentry","category-angular","category-node-js","category-typescript","tag-angular","tag-angular-8","tag-angular-9","tag-delay","tag-javascript","tag-npm","tag-sleep","tag-typescript"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Typescript delay with async\/await - Web Development Blog<\/title>\n<meta name=\"description\" content=\"Elevate TypeScript expertise! Learn to manage delays with async\/await in our insightful guide. Uncover advanced techniques for seamless development.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Typescript delay with async\/await - Web Development Blog\" \/>\n<meta property=\"og:description\" content=\"Elevate TypeScript expertise! Learn to manage delays with async\/await in our insightful guide. Uncover advanced techniques for seamless development.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Development tips and tricks - theCodeCampus Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-11T12:46:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-17T11:29:14+00:00\" \/>\n<meta name=\"author\" content=\"theCodeCampus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"theCodeCampus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u00a0Minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/typescript-delay-with-async-await\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/typescript-delay-with-async-await\\\/\"},\"author\":{\"name\":\"theCodeCampus\",\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/#\\\/schema\\\/person\\\/276bbda2f8da73154f22fb652201cfbc\"},\"headline\":\"Typescript delay with async\\\/await\",\"datePublished\":\"2020-02-11T12:46:33+00:00\",\"dateModified\":\"2025-04-17T11:29:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/typescript-delay-with-async-await\\\/\"},\"wordCount\":139,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/typescript-delay-with-async-await\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/weiter-entwickeln_anne_WP_small.png\",\"keywords\":[\"Angular\",\"Angular 8\",\"Angular 9\",\"delay\",\"JavaScript\",\"npm\",\"sleep\",\"TypeScript\"],\"articleSection\":[\"Angular\",\"Node.js\",\"TypeScript\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/typescript-delay-with-async-await\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/typescript-delay-with-async-await\\\/\",\"url\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/typescript-delay-with-async-await\\\/\",\"name\":\"Typescript delay with async\\\/await - Web Development Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/typescript-delay-with-async-await\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/typescript-delay-with-async-await\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/weiter-entwickeln_anne_WP_small.png\",\"datePublished\":\"2020-02-11T12:46:33+00:00\",\"dateModified\":\"2025-04-17T11:29:14+00:00\",\"description\":\"Elevate TypeScript expertise! Learn to manage delays with async\\\/await in our insightful guide. Uncover advanced techniques for seamless development.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/typescript-delay-with-async-await\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/typescript-delay-with-async-await\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/typescript-delay-with-async-await\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/weiter-entwickeln_anne_WP_small.png\",\"contentUrl\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/weiter-entwickeln_anne_WP_small.png\",\"width\":720,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/typescript-delay-with-async-await\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Typescript delay with async\\\/await\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/\",\"name\":\"Web Development tips and tricks - theCodeCampus Blog\",\"description\":\"Tips, tricks, and experiences about developing web and mobile applications with Angular, TypeScript, and Testing.\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/#organization\",\"name\":\"theCodeCampus\",\"url\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/TCC-Logo-Bildmarke-quadratisch.jpg\",\"contentUrl\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/TCC-Logo-Bildmarke-quadratisch.jpg\",\"width\":156,\"height\":156,\"caption\":\"theCodeCampus\"},\"image\":{\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/#\\\/schema\\\/person\\\/276bbda2f8da73154f22fb652201cfbc\",\"name\":\"theCodeCampus\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/TCC-Logo-Bildmarke-quadratisch-96x96.jpg\",\"url\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/TCC-Logo-Bildmarke-quadratisch-96x96.jpg\",\"contentUrl\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/TCC-Logo-Bildmarke-quadratisch-96x96.jpg\",\"caption\":\"theCodeCampus\"},\"description\":\"Our knowledge is not simply gained through reading - it is trained, tested and constantly being expanded. Because first and foremost, we are all developers at W11K. The know-how that we acquire here as developers, consultants and information architects flows immediately into our training courses and articles for theCodeCampus.\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/thecodecampus\\\/\"],\"url\":\"https:\\\/\\\/www.thecodecampus.de\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Typescript delay with async\/await - Web Development Blog","description":"Elevate TypeScript expertise! Learn to manage delays with async\/await in our insightful guide. Uncover advanced techniques for seamless development.","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:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/","og_locale":"de_DE","og_type":"article","og_title":"Typescript delay with async\/await - Web Development Blog","og_description":"Elevate TypeScript expertise! Learn to manage delays with async\/await in our insightful guide. Uncover advanced techniques for seamless development.","og_url":"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/","og_site_name":"Web Development tips and tricks - theCodeCampus Blog","article_published_time":"2020-02-11T12:46:33+00:00","article_modified_time":"2025-04-17T11:29:14+00:00","author":"theCodeCampus","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"theCodeCampus","Gesch\u00e4tzte Lesezeit":"1\u00a0Minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/#article","isPartOf":{"@id":"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/"},"author":{"name":"theCodeCampus","@id":"https:\/\/www.thecodecampus.de\/blog\/#\/schema\/person\/276bbda2f8da73154f22fb652201cfbc"},"headline":"Typescript delay with async\/await","datePublished":"2020-02-11T12:46:33+00:00","dateModified":"2025-04-17T11:29:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/"},"wordCount":139,"commentCount":2,"publisher":{"@id":"https:\/\/www.thecodecampus.de\/blog\/#organization"},"image":{"@id":"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/#primaryimage"},"thumbnailUrl":"https:\/\/www.thecodecampus.de\/blog\/wp-content\/uploads\/2025\/04\/weiter-entwickeln_anne_WP_small.png","keywords":["Angular","Angular 8","Angular 9","delay","JavaScript","npm","sleep","TypeScript"],"articleSection":["Angular","Node.js","TypeScript"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/","url":"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/","name":"Typescript delay with async\/await - Web Development Blog","isPartOf":{"@id":"https:\/\/www.thecodecampus.de\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/#primaryimage"},"image":{"@id":"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/#primaryimage"},"thumbnailUrl":"https:\/\/www.thecodecampus.de\/blog\/wp-content\/uploads\/2025\/04\/weiter-entwickeln_anne_WP_small.png","datePublished":"2020-02-11T12:46:33+00:00","dateModified":"2025-04-17T11:29:14+00:00","description":"Elevate TypeScript expertise! Learn to manage delays with async\/await in our insightful guide. Uncover advanced techniques for seamless development.","breadcrumb":{"@id":"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/#primaryimage","url":"https:\/\/www.thecodecampus.de\/blog\/wp-content\/uploads\/2025\/04\/weiter-entwickeln_anne_WP_small.png","contentUrl":"https:\/\/www.thecodecampus.de\/blog\/wp-content\/uploads\/2025\/04\/weiter-entwickeln_anne_WP_small.png","width":720,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.thecodecampus.de\/blog\/typescript-delay-with-async-await\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.thecodecampus.de\/blog\/"},{"@type":"ListItem","position":2,"name":"Typescript delay with async\/await"}]},{"@type":"WebSite","@id":"https:\/\/www.thecodecampus.de\/blog\/#website","url":"https:\/\/www.thecodecampus.de\/blog\/","name":"Web Development tips and tricks - theCodeCampus Blog","description":"Tips, tricks, and experiences about developing web and mobile applications with Angular, TypeScript, and Testing.","publisher":{"@id":"https:\/\/www.thecodecampus.de\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.thecodecampus.de\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/www.thecodecampus.de\/blog\/#organization","name":"theCodeCampus","url":"https:\/\/www.thecodecampus.de\/blog\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.thecodecampus.de\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.thecodecampus.de\/blog\/wp-content\/uploads\/2024\/01\/TCC-Logo-Bildmarke-quadratisch.jpg","contentUrl":"https:\/\/www.thecodecampus.de\/blog\/wp-content\/uploads\/2024\/01\/TCC-Logo-Bildmarke-quadratisch.jpg","width":156,"height":156,"caption":"theCodeCampus"},"image":{"@id":"https:\/\/www.thecodecampus.de\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.thecodecampus.de\/blog\/#\/schema\/person\/276bbda2f8da73154f22fb652201cfbc","name":"theCodeCampus","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.thecodecampus.de\/blog\/wp-content\/uploads\/2024\/01\/TCC-Logo-Bildmarke-quadratisch-96x96.jpg","url":"https:\/\/www.thecodecampus.de\/blog\/wp-content\/uploads\/2024\/01\/TCC-Logo-Bildmarke-quadratisch-96x96.jpg","contentUrl":"https:\/\/www.thecodecampus.de\/blog\/wp-content\/uploads\/2024\/01\/TCC-Logo-Bildmarke-quadratisch-96x96.jpg","caption":"theCodeCampus"},"description":"Our knowledge is not simply gained through reading - it is trained, tested and constantly being expanded. Because first and foremost, we are all developers at W11K. The know-how that we acquire here as developers, consultants and information architects flows immediately into our training courses and articles for theCodeCampus.","sameAs":["https:\/\/www.linkedin.com\/showcase\/thecodecampus\/"],"url":"https:\/\/www.thecodecampus.de\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.thecodecampus.de\/blog\/wp-json\/wp\/v2\/posts\/2167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thecodecampus.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thecodecampus.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thecodecampus.de\/blog\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thecodecampus.de\/blog\/wp-json\/wp\/v2\/comments?post=2167"}],"version-history":[{"count":13,"href":"https:\/\/www.thecodecampus.de\/blog\/wp-json\/wp\/v2\/posts\/2167\/revisions"}],"predecessor-version":[{"id":3402,"href":"https:\/\/www.thecodecampus.de\/blog\/wp-json\/wp\/v2\/posts\/2167\/revisions\/3402"}],"wp:attachment":[{"href":"https:\/\/www.thecodecampus.de\/blog\/wp-json\/wp\/v2\/media?parent=2167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thecodecampus.de\/blog\/wp-json\/wp\/v2\/categories?post=2167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thecodecampus.de\/blog\/wp-json\/wp\/v2\/tags?post=2167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}