<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/webassembly-jspi-has-a-new-api-v8-glsqqcbkc" -->

---
title: WebAssembly JSPI has a new API · V8 | daily.dev
description: WebAssembly&#x27;s JavaScript Promise Integration (JSPI) API has a new API available in Chrome release M126. The new API eliminates the use of Suspender objects and...
canonical: https://daily.dev/posts/webassembly-jspi-has-a-new-api-v8-glsqqcbkc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: WebAssembly JSPI has a new API · V8 | daily.dev
og:description: WebAssembly&#x27;s JavaScript Promise Integration (JSPI) API has a new API available in Chrome release M126. The new API eliminates the use of Suspender objects and...
og:url: https://daily.dev/posts/webassembly-jspi-has-a-new-api-v8-glsqqcbkc
og:image: https://api.daily.dev/og/posts/gLsQQCBKc.png
og:image:alt: WebAssembly JSPI has a new API · V8
og:image:width: 1200
og:image:height: 630
og:locale: en
---

[V8](https://daily.dev/sources/v8)

[Read post](https://api.daily.dev/r/gLsQQCBKc)

# [WebAssembly JSPI has a new API · V8](https://api.daily.dev/r/gLsQQCBKc "Go to post")

WebAssembly's JavaScript Promise Integration (JSPI) API has a new API available in Chrome release M126\. The new API eliminates the use of Suspender objects and provides specific functions and constructors for JSPI wrappers. It also introduces the restriction of using WebAssembly functions and suspends calls only when the JavaScript function returns a Promise. Emscripten users can adopt the new API without code changes, while custom integrations become simpler. The old API will be available until Chrome release M128 and Emscripten version 3.1.61 no longer supports it.

[#webassembly](/tags/webassembly "Check all #webassembly posts")

Jun 04, 2024•5m read time•From [v8.dev](https://api.daily.dev/r/gLsQQCBKc "v8.dev")

[![Post cover image](https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002)](https://api.daily.dev/r/gLsQQCBKc "Go to post")

Table of contents

[What is new? #](https://api.daily.dev/r/gLsQQCBKc?a=what-is-new%3F "What is new? #")[What is happening with JSPI? #](https://api.daily.dev/r/gLsQQCBKc?a=what-is-happening-with-jspi%3F "What is happening with JSPI? #")

11 Impressions2 Upvotes

Comment

Bookmark

Copy

![Placeholder image for anonymous user](https://media.daily.dev/image/upload/s--qsFuKGv_--/t_logo,f_auto/public/noProfile)Share your thoughtsPost

[![V8's image](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0cc7af7d23ee41d395473fd298dad108)](https://daily.dev/sources/v8)

[V8](https://daily.dev/sources/v8 "https://daily.dev/sources/v8")

The V8 Blog provides updates, technical deep dives, and insights on V8, Google's open-source JavaScr... Read more

15 Followers

•

25 Upvotes

#### Would you recommend this post?

Copy link

WhatsApp

Facebook

X

New Squad

Copy linkShare with your friends

2

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"WebAssembly JSPI has a new API · V8","url":"https://daily.dev/posts/webassembly-jspi-has-a-new-api-v8-glsqqcbkc","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/webassembly-jspi-has-a-new-api-v8-glsqqcbkc"},"datePublished":"2024-06-04T16:18:01.047Z","dateModified":"2024-08-23T14:44:50.095Z","description":"WebAssembly's JavaScript Promise Integration (JSPI) API has a new API available in Chrome release M126. The new API eliminates the use of Suspender objects and...","image":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","thumbnailUrl":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","isAccessibleForFree":true,"articleSection":"V8","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"V8","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0cc7af7d23ee41d395473fd298dad108","url":"https://daily.dev/sources/v8"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/webassembly-jspi-has-a-new-api-v8-glsqqcbkc","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webassembly","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"V8","item":"https://daily.dev/sources/v8"},{"@type":"ListItem","position":3,"name":"WebAssembly JSPI has a new API · V8"}]}
```

