awslabs / awslabs/llrt

`process.on` is not implemented

Open
#153 2 comments 2 reactions 0 assignees View on GitHub
enhancement javascript rust
Dominant language
Rust
Stars
8.8k
Forks
393
Avg merge
1d 11h
Merged PRs (30d)
45

Description

I'd like to [gracefully shutdown my lambda](https://github.com/aws-samples/graceful-shutdown-with-aws-lambda/tree/main/nodejs-demo)

However, looks like LLRT has no `process.on('SIGTERM', ...` implemented yet
```[tasklist]
### Tasks
- [ ] implement process.on
- [ ] emit SIGTERM event
```

Contributor guide

Open the contributing guide

Research direction

Start with the linked AWS Lambda Node.js demo to understand the intended graceful-shutdown behavior, then locate LLRT's process API and signal handling entry points. Implement the two listed tasks: support process.on and emit a SIGTERM event, and verify the demo's handler can run during shutdown.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.