grantila / grantila/q

Is it possible to know the current status of a Defer

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
194
Forks
23
PR merge metrics
No merged PRs in 30d

Description

My app runs core async code on C++ (using web assembly). I want to call a c++ async function (returns Defer) from js . I can bind Data types such that js understands (using emscripten embind). Is there something like Defer.status so that my js code can know till when it should wait

Contributor guide

Open the contributing guide

Research direction

Start by reading the Defer API and the C++/JavaScript boundary created with Emscripten embind. Clarify whether a status query or another completion signal is expected, then define done as allowing JavaScript to determine whether the asynchronous Defer has completed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, javascript, wasm
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.