Skip to content

docs(sandboxed-job): add JSDoc to SandboxedJob interface fields and helpers - #4133

Open
yogeshwaran-c wants to merge 1 commit into
taskforcesh:masterfrom
yogeshwaran-c:docs/sandboxed-job-jsdoc
Open

docs(sandboxed-job): add JSDoc to SandboxedJob interface fields and helpers#4133
yogeshwaran-c wants to merge 1 commit into
taskforcesh:masterfrom
yogeshwaran-c:docs/sandboxed-job-jsdoc

Conversation

@yogeshwaran-c

Copy link
Copy Markdown
Contributor

Summary

  • Adds concise JSDoc to every field and helper on the SandboxedJob interface so authors of sandboxed processors get IDE hints when receiving the job object in their processor function.
  • Documents data, opts, queueQualifiedName, moveToDelayed, moveToWait, moveToWaitingChildren, log, updateData, updateProgress, getChildrenValues, getIgnoredChildrenFailures, getDependenciesCount, and returnValue.
  • Documentation only - no runtime, type-shape, or API changes.

Test plan

  • No code logic changed; only JSDoc comments added
  • Interface shape (Omit<>, members) unchanged

…elpers

Documents the SandboxedJob interface so authors of sandboxed processors get IDE hints for the data fields and the RPC helpers (moveToDelayed, moveToWait, moveToWaitingChildren, log, updateData, updateProgress, getChildrenValues, getIgnoredChildrenFailures, getDependenciesCount). Documentation only - no runtime or type-shape changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant