
Security News
OpenClaw Advisory Surge Highlights Gaps Between GHSA and CVE Tracking
A recent burst of security disclosures in the OpenClaw project is drawing attention to how vulnerability information flows across advisory and CVE systems.
@eggjs/tegg-background-task
Advanced tools
@eggjs/tegg-background-tasknpm i --save @eggjs/tegg-background-task
import { BackgroundTaskHelper } from '@eggjs/tegg-background-task';
@ContextProto()
export default class BackgroundService {
@Inject()
private readonly backgroundTaskHelper:BackgroundTaskHelper
async backgroundAdd() {
this.backgroundTaskHelper.run(async () => {
// do the background task
});
}
}
tegg release the request context after request is done. So use the process.nextTick, setTimeout, setInterval in request is not safe.
Please use the backgroundTaskHelper, the release process will wait all the background tasks are done.
The release process will wait tasks done, but not forever. The default timeout is 5s, if task will cost more than 5s, two ways to resolve
SingletonProto to do the work, SingletonProto never releasebackgroundTaskHelper.timeoutFAQs
background util for tegg
The npm package @eggjs/tegg-background-task receives a total of 399 weekly downloads. As such, @eggjs/tegg-background-task popularity was classified as not popular.
We found that @eggjs/tegg-background-task demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A recent burst of security disclosures in the OpenClaw project is drawing attention to how vulnerability information flows across advisory and CVE systems.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.