WebAssembly / WebAssembly/component-model

async: Is it possible to have a background task?

Open
#460 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0.3.x
Dominant language
WebAssembly
Stars
1.4k
Forks
130
Avg merge
2d 1h
Merged PRs (30d)
15

Description

I believe the answer is "no", but I wanted to confirm. I believe this is likely used by libraries that do some sort of connection pooling or similar where a background task might be performing maintenance on behalf of the pool or similar. This is somewhat tangentially related to https://github.com/WebAssembly/component-model/issues/459 as well.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #460 and the linked WebAssembly/component-model issue #459, then review the surrounding async and component-model design discussions. Determine whether the model supports background tasks for use cases such as connection-pool maintenance, and document the supported behavior or the design needed to define it.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.